[BusyBox] adjtimex Compile problems with glibc
Uwe Beutin
uwe at imbrium.de
Wed Jul 10 16:38:03 UTC 2002
Hello List,
I am trying to compile some busybox tools and ntpclient for use on a
uCdimm and the glibc. I cannot use the uClibc because of telnetd
problems...
I have read that adjtimex(2) gives problems with an undefined prototype
in sys/timex.h but that doesn't tell me how to fix the problem:
m68k-elf-gcc -m68000 -Os -g -fomit-frame-pointer -DCONFIG_LINEO -Dlinux
-D__linux__ -Dunix -D__uClinux__ -DEMBED
-I/opt/dragonix/uClinux/lib/libc/include -I/opt/dragonix/uClinux/lib/libm
-I/opt/dragonix/uClinux -fno-builtin -m68000 -msep-data
-I/opt/dragonix/uClinux/linux-2.4.x/include -Wall -Wshadow -Os -g
-fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.0"'
-DBB_BT='"2002.07.10-22:34+0000"' -DUSE_SYSTEM_PWD_GRP -m68000 -Wall -Wshadow
-Os -g -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.60.0"'
-DBB_BT='"2002.07.10-22:34+0000"' -DUSE_SYSTEM_PWD_GRP -m68000 -I. -c
adjtimex.c -o adjtimex.o
In file included from adjtimex.c:49:
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:119:
parse error before `__THROW'
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:119:
warning: data definition has no type or storage class
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:120:
parse error before `__THROW'
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:120:
warning: data definition has no type or storage class
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:122:
parse error before `__THROW'
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:122:
warning: data definition has no type or storage class
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:123:
parse error before `__THROW'
/opt/dragonix/toolchain/src/../lib/gcc-lib/m68k-elf/2.95.3/../../../../m68k-elf/sys-include/sys/timex.h:123:
warning: data definition has no type or storage class
make[3]: *** [adjtimex.o] Error 1
can someone please help me with this? Thank you very much,
Uwe
More information about the busybox
mailing list