Mandriva uses the LDFLAGS --no-undefined --as-needed by default. Because 
of these flags, undefined references are reported when building ccid:

/bin/sh ../libtool --tag=CC   --mode=link gcc -pthread -I/usr/include/
PCSC   -pthread -fvisibility=hidden -DTWIN_SERIAL -DCCID_VERSION=`./
convert_version.pl 1.3.9` -O2 -g -pipe -Wformat -Werror=format-security -
Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -o libccidtwin.la -
rpath /usr/lib64 libccidtwin_la-ccid.lo libccidtwin_la-commands.lo 
libccidtwin_la-ifdhandler.lo libccidtwin_la-utils.lo libccidtwin_la-
ccid_serial.lo libccidtwin_la-tokenparser.lo libccidtwin_la-strlcpy.lo  
libccidtwin_la-atr.lo libccidtwin_la-pps.lo libccidtwin_la-buffer.lo 
libccidtwin_la-checksum.lo libccidtwin_la-proto-t1.lo  
.libs/libccid_la-ccid.o: In function `ccid_error':
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:449: undefined reference to 
`log_msg'
.libs/libccid_la-ccid.o: In function `ccid_open_hack':
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:228: undefined reference to 
`log_msg'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:309: undefined reference to 
`log_msg'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:297: undefined reference to 
`log_msg'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:232: undefined reference to 
`log_msg'
.libs/libccid_la-ccid.o:/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/ccid.c:259: 
more undefined references to `log_msg' follow
.libs/libccid_la-commands.o: In function `CmdPowerOn':
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/commands.c:160: undefined reference 
to `log_xxd'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/commands.c:152: undefined reference 
to `log_msg'
.libs/libccid_la-commands.o: In function `T0ProcACK':
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/commands.c:1652: undefined 
reference to `log_msg'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/commands.c:1553: undefined 
reference to `log_msg'
/home/fhimpe/ccid/BUILD/ccid-1.3.9/src/commands.c:1637: undefined 
reference to `log_msg'
[...]

I need this patch to make these errors go away::

http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/ccid/current/SOURCES/ccid-libtool_fixes.diff?revision=340650

Could you review this patch and include if it's correct?

Thanks,
-- 
Frederik Himpe

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to