[hobbit] Compile errors on snapshot
David Gore
David.Gore at mci.com
Sat Aug 6 18:43:34 CEST 2005
Henrik Stoerner wrote:
> On Sat, Aug 06, 2005 at 04:00:08PM +0000, David Gore wrote:
>
>>gcc -g -O -D_REENTRANT -DNO_VSNPRINTF -DOSF -I.
>>-I/var/tmp/snapshot/include -DCLIENTONLY=1 -o ../client/bb sendmsg-std.o
>>../lib/hobbitclient.a
>>/usr/bin/ld:
>>Unresolved:
>>vsnprintf
>>snprintf
>>collect2: ld returned 1 exit status
>
>
> Could you run
> make clean
> make include/config.h
> and let me see what's in the include/config.h file ?
>
# make include/config.h
MAKE="make" CC="cc" CFLAGS="-g -O -D_REENTRANT -DNO_VSNPRINTF -DOSF -I.
-I`pwd`/include -DCLIENTONLY=1" `pwd`/build/genconfig.sh
Checking for socklen_t
Checking for snprintf
Checking for vsnprintf
Checking for rpc/rpcent.h
Checking for sys/select.h
config.h created
# find . -name config.h
./include/config.h
# cat ./include/config.h
/* This file is auto-generated */
#ifndef __CONFIG_H__
#define __CONFIG_H__ 1
#undef HAVE_SOCKLEN_T
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#undef HAVE_RPCENT_H
#define HAVE_SYS_SELECT_H 1
#endif
config.h came out wrong, looks like it thinks it has [v]snprintf? This
is from removing the current snapshot and re-extracting it and starting
from scratch since it claimed config.h was already up to date after the
'make clean'.
>
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list