|
From: Udo L. <ul...@po...> - 2016-08-06 19:17:23
|
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 |