|
From: Yaroslav K. <kav...@gm...> - 2011-07-08 13:52:05
|
Sam Steingold wrote:
> of course it does not - it's in libgnu.a.
> how about this:
>
> diff -r d34dd44824e9 src/makemake.in
> --- a/src/makemake.in Fri Jul 08 09:08:50 2011 -0400
> +++ b/src/makemake.in Fri Jul 08 09:08:56 2011 -0400
> @@ -2334,6 +2334,7 @@ elif [ $CROSS = true ]; then
> else
> echol "UTILCC=\$(CC)"
> fi
> +EXTRAOBJ=${GLLIB_A}
> UTILCOMPILE="\$(UTILCC) \$(CPPFLAGS) \$(CFLAGS) \$(CLFLAGS) ${EXTRAOBJ}"
> for util in ${UTILS} ; do
> echol "${util}${HEXE} : ${UTILDIR_M}${util}.c"
>
>
> you might need to play with the argument order; maybe try edititing the
> Makefile directly putting libgnu.a before or after the object file(?)
>
no, only if I set EXTRAOBJ=gnulib/malloc.a
next:
gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib
-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type
-Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral
-falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW
-DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include
-DDYNAMIC_FFI -I. -c spvwtabs.c
In file included from ../src/lispbibl.d:1935:0,
from ../src/spvwtabs.d:8:
../src/win32.d:328:0: warning: "HAVE_IPV4" redefined
config.h:438:0: note: this is the location of the previous definition
../src/win32.d:329:0: warning: "HAVE_IPV6" redefined
config.h:441:0: note: this is the location of the previous definition
In file included from ../src/spvwtabs.d:42:0:
../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named
'S_listen_used_without_including_sys_socket_h'
../src/constsym.d:403:1: warning: missing initializer
../src/constsym.d:403:1: warning: (near initialization for
'symbol_tab_data.S_listen.symvalue')
../src/constsym.d:404:1: warning: missing initializer
........
../src/constsym.d:2100:1: warning: (near initialization for
'symbol_tab_data.S_foreign_call_in.symvalue')
../src/spvwtabs.d:44:7: warning: missing initializer
../src/spvwtabs.d:44:7: warning: (near initialization for
'symbol_tab_data.S_listen')
make: *** [spvwtabs.o] Error 1
--
WBR, Yaroslav Kavenchuk
|