Hi stan, Change the call to snprintf in amqde.c to ap_snprintf.
Jean-Louis On Wed, Aug 04, 2004 at 06:16:58PM -0400, stan wrote: > 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 -- Jean-Louis Martineau email: [EMAIL PROTECTED] D�partement IRO, Universit� de Montr�al C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529 Montr�al, Canada, H3C 3J7 Fax: (514) 343-5834
