tcpdump compile error

vpe

Mitglied
Mitglied seit
24 Feb 2006
Beiträge
239
Punkte für Reaktionen
0
Punkte
0
7270 16MB and i get this err:

----------------------------------------------------------------------
applying patch file make/tcpdump/patches/02-shared_pcap.patch
patching file aclocal.m4
----------------------------------------------------------------------
touch source/tcpdump-3.9.8/.unpacked
( cd source/tcpdump-3.9.8; rm -f config.{cache,status} ; autoconf --force ; source /home/freetz/freetz-stable-1.1/make/config.mipsel ; PATH="/home/freetz/freetz-stable-1.1/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" CC="/home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc" CXX="/home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-g++-uc" CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" GLOBAL_LIBDIR=/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib BUILD_CC="/home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc" HOSTCC="gcc" td_cv_buggygetaddrinfo="no" ./configure --cache-file=/home/freetz/freetz-stable-1.1/make/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls --disable-ipv6 --without-crypto )
configure.in:15: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required
../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from...
../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2593: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
aclocal.m4:45: AC_LBL_C_INIT is expanded from...
configure.in:15: the top level
configure: WARNING: unrecognized options: --with-gnu-ld, --disable-nls
configure: loading cache /home/freetz/freetz-stable-1.1/make/config.cache
checking build system type... (cached) i386-pc-linux-gnu
checking host system type... (cached) mipsel-unknown-linux-gnu
./configure: line 2548: syntax error near unexpected token `newline'
./configure: line 2548: `yes:'
make: *** [source/tcpdump-3.9.8/.configured] Fehler 2
 
i get next error:

checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-g++-uc accepts -g... (cached) yes
checking dependency style of /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-g++-uc... (cached) gcc3
checking for mipsel-linux-gcc... (cached) /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc accepts -g... (cached) yes
checking for /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking dependency style of /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc... (cached) gcc3
checking whether /home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc and cc understand -c and -o together... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for gawk... (cached) gawk
checking for perl5... no
checking for perl... perl
checking for indent... no
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for libiconv_open in -liconv... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
checking Whether to cache iconv descriptors... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for libintl.h... (cached) no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html

make: *** [source/glib-2.18.2/.configured] Fehler 1
 
i compile some images, but i try to change optionsm then this is 100% my bug?

next error:

if [ -f ./lib/libc.so -a -f /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/lib/libc.so.0 ] ; then \
rm -f /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/lib/libc.so; \
sed -e 's:uclibc_nonshared.a:/usr/lib/uclibc_nonshared.a:' \
-e 's:libc.so.0:/lib/libc.so.0:' \
-e 's:ld-uClibc.so.0:/lib/ld-uClibc.so.0:' \
./lib/libc.so > /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/lib/libc.so; \
fi
ln -sf ../../lib/libthread_db.so.1 \
/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/lib/libthread_db.so
if [ -d lib ] ; then \
for i in `find lib/ -type f -name 'lib*.a' | sed -e 's/lib\///'` ; do \
ln -sf $i /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/lib/`echo $i \
| sed -e 's/\.a$/_pic.a/'`; \
done ; \
fi
make[1]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/target/uClibc-0.9.29'
# Install the kernel headers to the target dir if necessary
if [ ! -f /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/include/linux/version.h ]; then \
cp -pLR /home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/include/* \
/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/include/; \
fi
cp: Kopieren von zyklischer symbolischer VerknĂźpfung â/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/include/include/includeâ nicht mĂśglich
make: *** [/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/target-utils/usr/lib/libc.a] Fehler 1


ps: is possible build image for 5050 (4MB only)? I not fit into limitsize, i get out some components but not fit too :-(
 
i compile some images, but i try to change optionsm then this is 100% my bug?
tcpdump error is not your fault, but also not ours. It's a combination of tcpdump error and your build system (automake 2.64?). The problem is not fixed in stable branch, there is however a patch somewhere here in forum. Use SuFu...

gettext error is definitely your fault, RTFM...

uClibc-error: no clue whose fault it is, but what's the reason you build uClibc yourself, use precompiled aka download toolchain...
 
rm -f -r source/dtmfbox-0.5.0_svn-src
tar -C source -xjf dl/dtmfbox-0.5.0_svn-src.tar.bz2
set -e; shopt -s nullglob; for i in make/dtmfbox/patches/*.patch; do tools/freetz_patch source/dtmfbox-0.5.0_svn-src $i; done
touch source/dtmfbox-0.5.0_svn-src/.unpacked
( cd source/dtmfbox-0.5.0_svn-src; rm -f config.{cache,status} ; cd ../../; rm -Rf source/dtmfbox-0.5.0_svn-src; svn co http://svn.v3v.de/svn/dtmfbox/trunk source/dtmfbox-0.5.0_svn-src; cd source/dtmfbox-0.5.0_svn-src; touch .unpacked; source /home/freetz/freetz-stable-1.1/make/config.mipsel ; PATH="/home/freetz/freetz-stable-1.1/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" CC="/home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc" CXX="/home/freetz/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-g++-uc" CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" ./configure --cache-file=/home/freetz/freetz-stable-1.1/make/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls --with-pjsip-version=9 --with-pjsip-path=/home/freetz/freetz-stable-1.1/source/pjproject-1.0.1 --prefix=/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc --exec-prefix=/home/freetz/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc --disable-sound --disable-template )
svn: OPTIONS of 'http://svn.v3v.de/svn/dtmfbox/trunk': Could not resolve hostname `svn.v3v.de': Host nicht gefunden (http://svn.v3v.de)
/bin/bash: Zeile 0: cd: source/dtmfbox-0.5.0_svn-src: No such file or directory
/bin/bash: ./configure: No such file or directory
make: *** [source/dtmfbox-0.5.0_svn-src/.configured] Fehler 127


i load freetz live image again (fresh!) and after 2 hours compiling i get this error... Omg, i not sure where is bug?

is here anyone developer for confirm and/or repair these bugs above please? !!!
 
Zuletzt bearbeitet:
Give the stable version of dtmfbox a try, not the trunk. THis is of course one of the errors, every trunk user should be able to fix by his own...
 
Zuletzt bearbeitet:
i make from begin and now okay.. but i get this:

STEP 3: PACK
packing var.tar
creating filesystem image
merging kernel image
ERROR: kernel image is 1379072 bytes too big. See http://trac.freetz.org/wiki/FAQ#Filesystemimagetoobig for details
make: *** [firmware-nocompile] Fehler 1

i have 16MB... and 1,3MB for kernel is much? How i use all space? How i disable (must?) Answeringmachine?

And finally - is possible get ast. pbx into flash?
 
Your image is 1,3 MB too big. You have to remove (or use external) some packages to save this 1,3 MB.

Regards
Oliver
 
oh, thx. i get this by self try and false method -:)
now i have
ERROR: kernel image is 64256 bytes too big.

better is if any package show size i n menuconfig

and this is my sole last Err msg:
WARNING: Library libneon_WITH_SSL selected, but no files found
 
The error message with libneon doesn't matter, but your image is still too big. Please deselect some packages to get the correct size, use external to put some files to usb-devices or use some more remove-patches...
 
i know, this is little bug report and here is next:

Download succeeded - http://www.tcpdump.org/release/tcpdump-3.9.8.tar.gz -> saved to folder dl
rm -f -r source/tcpdump-3.9.8
tar -C source -xzf dl/tcpdump-3.9.8.tar.gz
set -e; shopt -s nullglob; for i in make/tcpdump/patches/*.patch; do tools/freetz_patch source/tcpdump-3.9.8 $i; done
touch source/tcpdump-3.9.8/.unpacked
( cd source/tcpdump-3.9.8; rm -f config.{cache,status} ; autoconf --force ; source /home/freetz/freetz-stable-1.1/freetz-stable-1.1/make/config.mipsel ; PATH="/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" CC="/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc" CXX="/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-g++-uc" CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" GLOBAL_LIBDIR=/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib BUILD_CC="/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc" HOSTCC="gcc" td_cv_buggygetaddrinfo="no" ./configure --cache-file=/home/freetz/freetz-stable-1.1/freetz-stable-1.1/make/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls --disable-ipv6 --without-crypto )
configure.in:15: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it was required
../../lib/autoconf/c.m4:433: AC_LANG_COMPILER(C) is expanded from...
../../lib/autoconf/lang.m4:315: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2593: AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
aclocal.m4:45: AC_LBL_C_INIT is expanded from...
configure.in:15: the top level
configure: WARNING: unrecognized options: --with-gnu-ld, --disable-nls
configure: loading cache /home/freetz/freetz-stable-1.1/freetz-stable-1.1/make/config.cache
checking build system type... (cached) i386-pc-linux-gnu
checking host system type... (cached) mipsel-unknown-linux-gnu
./configure: line 2548: syntax error near unexpected token `newline'
./configure: line 2548: `yes:'
make: *** [source/tcpdump-3.9.8/.configured] Fehler 2


i muss deselect tcpdump and i ask why is error
 
tcpdump compile error fixed in the freetz-stable-1.1 branch, see here.
 
@Whoopie: you were 6 minutes faster than me :)
 
after i make clean and get new svn, then this error after make menuconfig and make:

CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \
CONFIG_H="tconfig.h /home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6/gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk install
make[3]: Betrete Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else /bin/sh /home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/bin/install -c -m 644 ./libgcc.a /home/freetz/freetz-stable-1.1/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/lib/gcc/mipsel-unknown-linux-gnu/3.4.6/
mipsel-unknown-linux-gnu-ranlib /home/freetz/freetz-stable-1.1/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/lib/gcc/mipsel-unknown-linux-gnu/3.4.6/libgcc.a
make[3]: mipsel-unknown-linux-gnu-ranlib: Kommando nicht gefunden
make[3]: *** [install] Fehler 127
make[3]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build/gcc'
make[2]: *** [install-libgcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build/gcc'
make[1]: *** [install-gcc] Fehler 2
make[1]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build'
make: *** [/home/freetz/freetz-stable-1.1/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu-gcc] Fehler 2
 
make[3]: mipsel-unknown-linux-gnu-ranlib: Kommando nicht gefunden
make[3]: *** [install] Fehler 127
make[3]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build/gcc'
make[2]: *** [install-libgcc] Fehler 2
make[2]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build/gcc'
make[1]: *** [install-gcc] Fehler 2
make[1]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/source/toolchain/kernel/gcc-3.4.6-build'
make: *** [/home/freetz/freetz-stable-1.1/toolchain/build/gcc-3.4.6/mipsel-unknown-linux-gnu/bin/mipsel-unknown-linux-gnu-gcc] Fehler 2

same error....
 
Did anybody write that the error was fixed in the stable branch!? Although it has nothing to do with tcpdump.

Regards
Oliver
 
i think not fixed...

how component i must deselect to compile without error please?
 
In r5268 I merged some Changesets concerning toolchain fixes. Please do svn up, make dirclean and start from the beginning. Is your problem solved?

Regards
Oliver
 
Checked out revision 5274.
make clean;make menuconfig;make
i get

/home/freetz/freetz-stable-1.1/freetz-stable-1.1/toolchain/target/bin/mipsel-linux-uclibc-gcc -shared -o ../../.ext/mipsel-linux/curses.so curses.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lruby -lncurses -lrt -ldl -lcrypt -lm -lc
make[2]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/freetz-stable-1.1/source/ruby-1.8.6-p368/ext/curses'
compiling dbm
make[2]: Betrete Verzeichnis '/home/freetz/freetz-stable-1.1/freetz-stable-1.1/source/ruby-1.8.6-p368/ext/dbm'
make[2]: *** Keine Targets. Schluss.
make[2]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/freetz-stable-1.1/source/ruby-1.8.6-p368/ext/dbm'
make[1]: *** [all] Fehler 1
make[1]: Verlasse Verzeichnis '/home/freetz/freetz-stable-1.1/freetz-stable-1.1/source/ruby-1.8.6-p368'
make: *** [source/ruby-1.8.6-p368/ruby] Fehler 2

maybe after dirclean worl i must check
 
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,827
Beiträge
2,219,005
Mitglieder
371,520
Neuestes Mitglied
fredl_2
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.