Re: Cool-Key on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Mar 4, 2010 at 8:13 PM, Kevin Reinholz <kreinholz@xxxxxxxxx> wrote:
>  g++ -shared -nostdlib -Wl,-M -Wl,.libs/ -o
> .libs/ /usr/lib/crti.o /usr/lib/values-Xa.o
> /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtbegin.o
>  .libs/libcoolkeypk11_la-coolkey.o .libs/libcoolkeypk11_la-dllmain.o
> .libs/libcoolkeypk11_la-locking.o .libs/libcoolkeypk11_la-log.o
> .libs/libcoolkeypk11_la-machdep.o .libs/libcoolkeypk11_la-object.o
> .libs/libcoolkeypk11_la-PKCS11Exception.o .libs/libcoolkeypk11_la-slot.o
>  -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib -L/usr/local/lib
> -lckyapplet -ldl -lz -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3
> -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../.. -L/usr/sfw/lib
> -lstdc++ -lm -lgcc_s /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtend.o
> /usr/lib/crtn.o

This is the command-line that links libs/
It uses the compiler (g++) to link, which is good.
However, it uses -nostdlib and has a bunch of .o files with
"crt" in their names.  I am not familiar with them.  Sorry...
I would try removing those as well as -lstdc++ and -lgcc_s
from the command line.


Coolkey-devel mailing list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Women]

  Powered by Linux