3.0.21pre1 and strtoll() ?
Ken Stone
ken at sdd.hp.com
Fri Oct 21 02:53:02 GMT 2005
Hi ....
Trying to build 3.0.21pre1 on HP-UX 11i (11.11) with no luck ... Looks like
a couple of calls to strtoll() are the culprit in registry/reg_perfcount.c
Looks like strtoll() was in libsmb/libsmbclient.c before but nothing I built
ever linked against it so no one noticed ... With the calls now, I get a
link failure on smbd as shown below ...
HP-UX as of 11i (11.11) does not have strtoll() .... Looks like configure
doesn't check for strtoll() at all.
Thanks
-- Ken
Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/local/samba-src/samba-3.
0.21pre1/source/include -I/local/samba-src/samba-3.0.21pre1/source/ubiqx -I/loca
l/samba-src/samba-3.0.21pre1/source/tdb -I. -Ae -D_HPUX_SOURCE -D_POSIX_SOURCE
-D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_
LOCK_OFFSET=0x1ffffffffffLL -I/local/samba-src/samba-3.0.21pre1/source
LIBS = -lsec -lnsl
LDSHFLAGS = -b -Wl,-B,symbolic,-b,-z
LDFLAGS =
PIE_CFLAGS =
PIE_LDFLAGS =
Linking bin/smbd
/usr/ccs/bin/ld: Unsatisfied symbols:
strtoll (first referenced in registry/reg_perfcount.o) (code)
*** Error exit code 1
Stop.
More information about the samba-technical
mailing list