Link Copied
Hi Francis,
did you notice that we provide both variants (PIC and non-PIC) for IPP static libraries? Please see nonpic subfolder in lib folder.
Regards,
Vladimir
could you please provide OS version and ld command line you use?
Vladimir
Hi!
I've built thecustom shared library from IPP libraries without any problesm:
ld -shared -zdefs -o libtest.so library.script lib/libippvcemerged.a lib/libippvcmerged.a lib/libippacemerged.a lib/libippacmerged.a lib/libippjemerged.a lib/libippjmerged.a lib/libippdcemerged.a lib/libippdcmerged.a lib/libippccemerged.a lib/libippccmerged.a lib/libippcpemerged.a lib/libippcpmerged.a lib/libippscemerged.a lib/libippscmerged.a lib/libippsremerged.a lib/libippsrmerged.a lib/libippvmemerged.a lib/libippvmmerged.a lib/libippchemerged.a lib/libippchmerged.a lib/libippremerged.a lib/libipprmerged.a lib/libippmemerged.a lib/libippmmerged.a lib/libippcvemerged.a lib/libippcvmerged.a lib/libippiemerged.a lib/libippimerged.a lib/libippsemerged.a lib/libippsmerged.a lib/libippcore.a -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -lgcc -lm -lc
OS:
Fedora release 8 (Werewolf)
Linux2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
GCC:
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LD:
GNU ld version 2.17.50.0.18-1 20070731
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Note: it is very important to point libraries in link string in right order because ld has only 1 pass and can resolve symbols only from left to right. For you the right order:
-lippcvemerged -lippcvmerged -lippccemerged -lippccmerged -lippiemerged -lippimerged -lippmemerged -lippmmerged -lippsemerged -lippsmerged-lippcore
Please try to point the IPP libraries in such order and do you use the IA32 OS?
Pavel
For more complete information about compiler optimizations, see our Optimization Notice.