[Freeswitch-users] Build error stop at vdbeaux.c

Michel Blais michel at targointernet.com
Thu Oct 17 05:05:43 MSD 2013


Busybox don't include a full version of every command. It's a shell that
include most commande with only the most used option but often lack usefull
feature. It's use to save space on embedded device.

I didn't know the -R option so I was not sur about what you where looking
for but the're no line with NAWK in the make file but if I look for AWK, I
get this :

# grep AWK Makefile
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
AWK = awk
    $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
    $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \

Thanks




2013/10/16 Michael Jerris <mike at jerris.com>

> Not sure why your grep is funky.. but the -R isn't necessary… This is
> going to be limitations of the tools in busybox I suspect.
>
> grep NAWK  Makefile
>
> ?
>
> On Oct 16, 2013, at 2:01 PM, Michel Blais - Support technique - Targo
> communication <michel at targointernet.com> wrote:
>
> > The awk command is the one include by busybox, same for grep. Could it
> > be the problem ?
> >
> > # grep -R ^NAWK Makefile
> > grep: invalid option -- 'R'
> > BusyBox v1.19.0 (2012-08-28 21:32:52 PDT) multi-call binary.
> >
> > Thanks
> >
> > Le 2013-10-16 16:50, Michael Jerris a écrit :
> >> libs/sqlite/mkopcodeh.awk:125:    printf "#define NOPUSH_MASK_%d
> 0x%04x\n", i, nopush[i]
> >>
> >> libs/sqlite/Makefile.in:373:opcodes.h:  parse.h $(TOP)/src/vdbe.c
> $(TOP)/mkopcodeh.awk
> >> libs/sqlite/Makefile.in:374:    cat parse.h $(TOP)/src/vdbe.c | $(NAWK)
> -f $(TOP)/mkopcodeh.awk >opcodes.h
> >>
> >> <7>:grep NOPUSH_MASK ./libs/sqlite/opcodes.h
> >> #define NOPUSH_MASK_0 0x3fbc
> >> #define NOPUSH_MASK_1 0x3e5b
> >> #define NOPUSH_MASK_2 0x71ef
> >> #define NOPUSH_MASK_3 0x7fce
> >> #define NOPUSH_MASK_4 0xffff
> >> #define NOPUSH_MASK_5 0xcdef
> >> #define NOPUSH_MASK_6 0xb6d7
> >> #define NOPUSH_MASK_7 0x33af
> >> #define NOPUSH_MASK_8 0xf86f
> >> #define NOPUSH_MASK_9 0x0000
> >>
> >> take a look at the contents of your generated opcodes.h and see what
> you find in there.  The logic would be in mkopcodeh.awk.  Also possible you
> don't have awk installed… check out the definition of NAWK var:
> >>
> >> <11>:grep -R ^NAWK  Makefile
> >> Makefile:NAWK = awk
> >>
> >> Mike
> >>
> >>
> >> On Oct 16, 2013, at 1:38 PM, Michel Blais - Support technique - Targo
> communication <michel at targointernet.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> I have a build error blocking at vdbeaux.c, build output following at
> >>> bottom. OS is Vyatta based on debian 6.0.6. Arch is MIPS64, the CPU a
> >>> Cavium octeon+ 50XX. I was not able to find anything on this build
> >>> error. It would be appreciated if anybody could help.
> >>>
> >>> Thanks
> >>> Michel
> >>>
> >>> # make
> >>> config.status: creating Makefile
> >>> config.status: creating include/apr.h
> >>> config.status: creating build/apr_rules.mk
> >>> config.status: creating build/pkg/pkginfo
> >>> config.status: creating apr-1-config
> >>> config.status: WARNING:  'apr-config.in' seems to ignore the
> >>> --datarootdir settg
> >>> config.status: creating apr.pc
> >>> config.status: creating test/Makefile
> >>> config.status: creating test/internal/Makefile
> >>> config.status: creating include/arch/unix/apr_private.h
> >>> config.status: executing libtool commands
> >>> rm: can't remove 'libtoolT': No such file or directory
> >>> config.status: executing default commands
> >>> config.status: include/apr.h is unchanged
> >>> config.status: include/arch/unix/apr_private.h is unchanged
> >>> touch src/include/switch.h
> >>> make[1]: Entering directory `/usr/src/freeswitch/libs/apr'
> >>> make[2]: Entering directory `/usr/src/freeswitch/libs/apr'
> >>> make[2]: Nothing to be done for `local-all'.
> >>> make[2]: Leaving directory `/usr/src/freeswitch/libs/apr'
> >>> make[1]: Leaving directory `/usr/src/freeswitch/libs/apr'
> >>> touch src/include/switch.h
> >>> make[1]: Entering directory `/usr/src/freeswitch/libs/apr-util'
> >>> Making all in xml/expat
> >>> make[2]: Entering directory
> `/usr/src/freeswitch/libs/apr-util/xml/expat'
> >>> make[3]: Entering directory
> >>> `/usr/src/freeswitch/libs/apr-util/xml/expat/lib'
> >>> make[3]: Nothing to be done for `all'.
> >>> make[3]: Leaving directory
> >>> `/usr/src/freeswitch/libs/apr-util/xml/expat/lib'
> >>> make[2]: Leaving directory
> `/usr/src/freeswitch/libs/apr-util/xml/expat'
> >>> make[2]: Entering directory `/usr/src/freeswitch/libs/apr-util'
> >>> make[2]: Nothing to be done for `local-all'.
> >>> make[2]: Leaving directory `/usr/src/freeswitch/libs/apr-util'
> >>> make[1]: Leaving directory `/usr/src/freeswitch/libs/apr-util'
> >>> touch src/include/switch.h
> >>> make[1]: Entering directory `/usr/src/freeswitch/libs/sqlite'
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> sort -n -b -k 3 opcodes.h | awk -f ./mkopcodec.awk >opcodes.c
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> gcc -g -O2 -g -O2 -o mkkeywordhash ./tool/mkkeywordhash.c
> >>> ./mkkeywordhash >keywordhash.h
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./libtool --tag=CC --mode=compile gcc -g -O2 -g -O2 -DOS_UNIX=1
> >>> -DHAVE_USLEEP=1c
> >>> libtool: compile:  gcc -g -O2 -g -O2 -DOS_UNIX=1 -DHAVE_USLEEP=1
> >>> -DHAVE_FDATASYo
> >>> ./src/vdbeaux.c: In function 'opcodeNoPush':
> >>> ./src/vdbeaux.c:247: error: 'NOPUSH_MASK_0' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:247: error: (Each undeclared identifier is reported
> only
> >>> once
> >>> ./src/vdbeaux.c:247: error: for each function it appears in.)
> >>> ./src/vdbeaux.c:247: error: 'NOPUSH_MASK_1' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:248: error: 'NOPUSH_MASK_2' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:248: error: 'NOPUSH_MASK_3' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:249: error: 'NOPUSH_MASK_4' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:249: error: 'NOPUSH_MASK_5' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:250: error: 'NOPUSH_MASK_6' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:250: error: 'NOPUSH_MASK_7' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:251: error: 'NOPUSH_MASK_8' undeclared (first use in
> >>> this funct)
> >>> ./src/vdbeaux.c:251: error: 'NOPUSH_MASK_9' undeclared (first use in
> >>> this funct)
> >>> make[1]: *** [vdbeaux.lo] Error 1
> >>> make[1]: Leaving directory `/usr/src/freeswitch/libs/sqlite'
> >>> make: *** [libs/sqlite/libsqlite3.la] Error 2
> >>>
> >>>
> _________________________________________________________________________
> >>> Professional FreeSWITCH Consulting Services:
> >>> consulting at freeswitch.org
> >>> http://www.freeswitchsolutions.com
> >>>
> >>> 
> >>> 
> >>>
> >>> Official FreeSWITCH Sites
> >>> http://www.freeswitch.org
> >>> http://wiki.freeswitch.org
> >>> http://www.cluecon.com
> >>>
> >>> FreeSWITCH-users mailing list
> >>> FreeSWITCH-users at lists.freeswitch.org
> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >>> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >>> http://www.freeswitch.org
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> 
> >> 
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131016/441ec66f/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list