I'm trying to comiple 2.4.4p3 on an ancient Solaris 2.5.1 machine.

I gte errors in the linking phase with snprintf not being found. 
What's puzzling is that config.log clearly shows that this function 
was not found:

conftest.c:294: warning: conflicting types for built-in function 'snprintf'
Undefined                       first referenced
 symbol                             in file
 snprintf                            /var/tmp//ccjH8So6.o
 ld: fatal: Symbol referencing errors. No output written to conftest
 collect2: ld returned 1 exit status

And it seems that the Amanda source tree provides this function
for just such a case:

./common-src/snprintf.c

Yet, I'm getting the following error:

 -g -O2 -o .libs/amqde amqde.o  -L/usr/local/lib -L/usr/include ./.libs/libamclient.so
 ../common-src/.libs/libamanda.so -lgen -lm -ltermcap -lsocket -lnsl -lintl 
-R/opt/amanda/lib
 -R/usr/local/lib
 -R/usr/include
 Undefined                       first referenced
  symbol                             in file
  snprintf                            amqde.o
  ld: fatal: Symbol referencing errors. No output written to .libs/amqde


Any sugestions as to what I might be doign wrong?



-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                                                -- Benjamin Franklin

Reply via email to