Creating shared libraries issues

Lothar <[email protected]> Sat, 11 Oct 2014 07:18:17 +0200
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hi,

I am using the following command to create a shared library on my =
openSuSE boxes:

cc -g -shared -WL,soname,liblbHook.so.0 -o liblbHook.so.0.0.1 lbHook.o  =
-ldl -lstdc++

On an older box (uname -a =3D Linux linux-mjyr 2.6.27.56-0.1-pae #1 SMP =
2010-12-01 16:57:58 +0100 i686 i686 i386 GNU/Linux) all works fine.
On my current box where I try to setup a new jenkins installation I get =
an error. (uname -a =3D Linux ci-master 3.11.10-21-pae #1 SMP Mon Jul 21 =
15:28:46 UTC 2014 (9a9565d) i686 i686 i386 GNU/Linux)

cc: error: unrecognized command line option =91-WL,soname,liblbHook.so.0=92=


Am I missing some tools?

I have installed Base Development Patterns and additionally therein the =
libtool package as it was installed on my older box.

Thanks, Lothar

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Ginsterweg 4
65760 Eschborn












-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]