|
From: Udo L. <ul...@po...> - 2016-08-06 19:17:23
Attachments:
signature.asc
|
Hi all, I tried to build the actual devil-linux from scratch to test haproxy and wrote an startscript for this. But I'm not able to do this. make prepare failed with binutils - error log at the end. I'm not sure, if I do all things right before, because the docs are a little bit out of sync... some links aren't work. (Like on http://devil-linux.org/documentation/1.6.x/ch03s01.html the links below 1.3.4) Steps (as root): cd /usr/src/lfssystem64 cvs -d:pserver:ano...@de...:/cvsroot/devil-linux login cvs -z3 -d:pserver:ano...@de...:/cvsroot/devil-linux co build cd build/ cvs update -d -P ./update_src cr cd build make unpack make menuconfig make prepare ######## failed ######### end of the logfile: if [ x"-fpic" != x ]; then \ gcc -D_FORTIFY_SOURCE=0 -c -DHAVE_CONFIG_H -m64 -I. -I/build/tmp/binutils-2.25.1/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic /build/tmp/ binutils-2.25.1/libiberty/fibheap.c -o pic/fibheap.o; \ else true; fi <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:1:0: note: this is the location of the previous definition /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_union': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:151:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:151:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:156:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:172:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_extract_min': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:190:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_replace_key_data': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:220:30: error: 'LONG_MIN' undeclared (first use in this function) /build/tmp/binutils-2.25.1/libiberty/fibheap.c:220:30: note: each undeclared identifier is reported only once for each function it appears in /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_delete_node': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:261:36: error: 'LONG_MIN' undeclared (first use in this function) /build/tmp/binutils-2.25.1/libiberty/fibheap.c:265:7: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:265:7: warning: incompatible implicit declaration of built-in function 'abort' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_delete': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:277:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_consolidate': /build/tmp/binutils-2.25.1/libiberty/fibheap.c:368:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] /build/tmp/binutils-2.25.1/libiberty/fibheap.c:368:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] make[2]: *** [fibheap.o] Error 1 make[2]: Leaving directory `/build/tmp/binutils-prepare/libiberty' make[1]: *** [all-libiberty] Error 2 make[1]: Leaving directory `/build/tmp/binutils-prepare' make: *** [all] Error 2 Any hint? Udo |
|
From: Heiko Z. <he...@zu...> - 2016-08-07 15:38:30
|
Udo, Let me ask a few basic questions: I assume you used ftp://ftp.devil-linux.org/pub/devel/sources/lfssystem-for-DL-1.6/lfssystem64-1.1.tar.xz as the build environment? Did you load the default config on "make menuconfig"? If not, give that a try. Maybe there's a dependency wrong. Was the "cr" (chroot) command successfully executed? Also, please take a look at: http://devil-linux.org/documentation/1.6.x/ch03s05.html for common issues. Heiko Quoting Udo Lembke <ul...@po...>: > Hi all, > I tried to build the actual devil-linux from scratch to test haproxy and > wrote an startscript for this. > > But I'm not able to do this. > make prepare failed with binutils - error log at the end. > I'm not sure, if I do all things right before, because the docs are a > little bit out of sync... some links aren't work. (Like on > http://devil-linux.org/documentation/1.6.x/ch03s01.html the links below > 1.3.4) > > Steps (as root): > cd /usr/src/lfssystem64 > cvs > -d:pserver:ano...@de...:/cvsroot/devil-linux > login > cvs -z3 > -d:pserver:ano...@de...:/cvsroot/devil-linux > co build > cd build/ > cvs update -d -P > ./update_src > cr > cd build > make unpack > make menuconfig > make prepare > > ######## failed ######### > > end of the logfile: > if [ x"-fpic" != x ]; then \ > gcc -D_FORTIFY_SOURCE=0 -c -DHAVE_CONFIG_H -m64 -I. > -I/build/tmp/binutils-2.25.1/libiberty/../include -W -Wall > -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic -fpic > /build/tmp/ > binutils-2.25.1/libiberty/fibheap.c -o pic/fibheap.o; \ > else true; fi > <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by > default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:1:0: note: this is the > location of the previous definition > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function 'fibheap_union': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:151:7: warning: implicit > declaration of function 'free' [-Wimplicit-function-declaration] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:151:7: warning: > incompatible implicit declaration of built-in function 'free' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:156:7: warning: > incompatible implicit declaration of built-in function 'free' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:172:3: warning: > incompatible implicit declaration of built-in function 'free' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function > 'fibheap_extract_min': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:190:7: warning: > incompatible implicit declaration of built-in function 'free' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function > 'fibheap_replace_key_data': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:220:30: error: 'LONG_MIN' > undeclared (first use in this function) > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:220:30: note: each > undeclared identifier is reported only once for each function it appears in > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function > 'fibheap_delete_node': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:261:36: error: 'LONG_MIN' > undeclared (first use in this function) > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:265:7: warning: implicit > declaration of function 'abort' [-Wimplicit-function-declaration] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:265:7: warning: > incompatible implicit declaration of built-in function 'abort' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function > 'fibheap_delete': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:277:5: warning: > incompatible implicit declaration of built-in function 'free' [enabled > by default] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c: In function > 'fibheap_consolidate': > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:368:3: warning: implicit > declaration of function 'memset' [-Wimplicit-function-declaration] > /build/tmp/binutils-2.25.1/libiberty/fibheap.c:368:3: warning: > incompatible implicit declaration of built-in function 'memset' [enabled > by default] > make[2]: *** [fibheap.o] Error 1 > make[2]: Leaving directory `/build/tmp/binutils-prepare/libiberty' > make[1]: *** [all-libiberty] Error 2 > make[1]: Leaving directory `/build/tmp/binutils-prepare' > make: *** [all] Error 2 > > Any hint? > Udo -- Regards Heiko Zuerker |
|
From: Udo L. <ul...@po...> - 2016-08-07 21:06:58
|
Hi Heiko, On 07.08.2016 17:38, Heiko Zuerker wrote: > Udo, > > Let me ask a few basic questions: > I assume you > used ftp://ftp.devil-linux.org/pub/devel/sources/lfssystem-for-DL-1.6/lfssystem64-1.1.tar.xz > as the build environment? yes - to be sure I'm load the lfssystem again - no difference in download - and overwrite again... > Did you load the default config on "make menuconfig"? If not, give > that a try. Maybe there's a dependency wrong. > Was the "cr" (chroot) command successfully executed? yes, I do the same again. To be sure I'm delete the old config and create an new one: make mrproper rm .config make menuconfig make unpack -> this produce an error: unpacking /build/src/qadsl-final-1.2.tar.xz tar: A lone zero block at 80 And with binutils I'm not further: root:/build# make prepare mount: proc already mounted mount: none already mounted or /sys busy make: Entering directory `/build' prepare: prepare log: /build/tmp/LOGS/prepare/prepare prepare: binutils log: /build/tmp/LOGS/prepare/binutils make: *** [binutils] Error 1 make: Leaving directory `/build' make: *** [prepare] Error 1 glibc2.14 is missing: make[4]: Nothing to be done for `install-exec-am'. test -z "/usr/include" || /bin/mkdir -p "/usr/include" /bin/install -c -m 644 /build/tmp/binutils-2.25.1/opcodes/../include/dis-asm.h '/usr/include' test -z "/usr/lib" || /bin/mkdir -p "/usr/lib" /bin/sh ./libtool --mode=install /bin/install -c libopcodes.la '/usr/lib' libtool: install: /bin/install -c .libs/libopcodes-2.25.1.so /usr/lib/libopcodes-2.25.1.so libtool: install: (cd /usr/lib && { ln -s -f libopcodes-2.25.1.so libopcodes.so || { rm -f libopcodes.so && ln -s libopcodes-2.25.1.so libopcodes.so; }; }) libtool: install: /bin/install -c .libs/libopcodes.lai /usr/lib/libopcodes.la libtool: install: /bin/install -c .libs/libopcodes.a /usr/lib/libopcodes.a libtool: install: chmod 644 /usr/lib/libopcodes.a libtool: install: ranlib /usr/lib/libopcodes.a ranlib: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libz.so.1) make[4]: *** [install-bfdlibLTLIBRARIES] Error 1 make[4]: Leaving directory `/build/tmp/binutils-prepare/opcodes' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/build/tmp/binutils-prepare/opcodes' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/build/tmp/binutils-prepare/opcodes' make[1]: *** [install-opcodes] Error 2 make[1]: Leaving directory `/build/tmp/binutils-prepare' make: *** [install] Error 2 Are the libc from the host system (debian 8 jessie) are used and not from the lfssystem?? On the host: ii libc6:amd64 2.19-18+deb8u4 amd64 GNU C Library: Shared libraries Udo |
|
From: Udo L. <ul...@po...> - 2016-08-08 21:08:51
|
Hi, has something to do with older things inside the lfssystem... Started again from zero and now make prepare is running and binutils is allready prepared! Udo |
|
From: Heiko Z. <he...@zu...> - 2016-08-08 22:54:36
|
Udo, Ah yes, that was the one question I forgot to ask. It's usually best to nuke the lfssystem directory and start over, if something is not behaving correctly. Heiko Quoting Udo Lembke <ul...@po...>: > Hi, > > has something to do with older things inside the lfssystem... > > Started again from zero and now make prepare is running and binutils is > allready prepared! > > Udo > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li...://lists.sourceforge.net/lists/listinfo/devil-linux-discuss -- Regards Heiko Zuerker |