ts-7000
[Top] [All Lists]

[ts-7000] Trying to compile modutils

To:
Subject: [ts-7000] Trying to compile modutils
From: "carol9078" <>
Date: Tue, 06 Nov 2007 22:28:07 -0000
 make
make[1]: Entering directory `/devel/devel/newstuff/build/modutils-
build/util'
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -M -g -O2 -I../../modutils-2.4.26/util/../
include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm
  ../../modutils-2.4.26/util/xmalloc.c ../../modutils-2.4.26/util/
xrealloc.c ../../modutils-2.4.26/util/xstrcat.c ../../modutils-2.4.26/
util/xstrdup.c ../../modutils-2.4.26/util/xsystem.c ../../modutils-
2.4.26/util/logger.c ../../modutils-2.4.26/util/modstat.c ../../
modutils-2.4.26/util/meta_expand.c ../../modutils-2.4.26/util/
config.c ../../modutils-2.4.26/util/snap_shot.c ../../modutils-2.4.26/
util/arch64.c ../../modutils-2.4.26/util/gzfiles.c ../../modutils-
2.4.26/util/sys_nim.c ../../modutils-2.4.26/util/xftw.c > .depend
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o xmalloc.o ../../modutils-2.4.26/util/xmalloc.c
In file included from ../../modutils-2.4.26/util/xmalloc.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o xrealloc.o ../../modutils-2.4.26/util/xrealloc.c
In file included from ../../modutils-2.4.26/util/xrealloc.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o xstrcat.o ../../modutils-2.4.26/util/xstrcat.c
In file included from ../../modutils-2.4.26/util/xstrcat.c:22:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o xstrdup.o ../../modutils-2.4.26/util/xstrdup.c
In file included from ../../modutils-2.4.26/util/xstrdup.c:24:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o xsystem.o ../../modutils-2.4.26/util/xsystem.c
/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-
unknown-linux-gnu-gcc -g -O2 -I../../modutils-2.4.26/util/../include -
D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DCONFIG_ROOT_CHECK_OFF=0  -DELF_MACHINE_H='"elf_arm.h"' -DARCH_arm  -
c -o logger.o ../../modutils-2.4.26/util/logger.c
In file included from ../../modutils-2.4.26/util/logger.c:30:
../../modutils-2.4.26/include/util.h:42: warning: built-in function 
`log' declared as non-function
../../modutils-2.4.26/util/logger.c: In function `error':
../../modutils-2.4.26/util/logger.c:79: error: `PATH_MAX' undeclared 
(first use in this function)
../../modutils-2.4.26/util/logger.c:79: error: (Each undeclared 
identifier is reported only once
../../modutils-2.4.26/util/logger.c:79: error: for each function it 
appears in.)
../../modutils-2.4.26/util/logger.c: In function `lprintf':
../../modutils-2.4.26/util/logger.c:112: error: `PATH_MAX' undeclared 
(first use in this function)
make[1]: *** [logger.o] Error 1
make[1]: Leaving directory `/devel/devel/newstuff/build/modutils-
build/util'
make: *** [all] Error 2

Any clues as to how to fix this, tried various combinations of 
setting CC and ARCH etc.

Cross compiling on Fedora 7





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU