Date: Wed, 26 Nov 1997 14:16:54 -0500 (EST) From: Kwang-Soo Kim <kimk@cs.unc.edu> To: freebsd-questions@FreeBSD.org Subject: How to build a shared library... Message-ID: <199711261916.OAA28859@handel.cs.unc.edu>
next in thread | raw e-mail | index | archive | help
How to build shared library on FreeBSD? I tried "-fPIC" and "-shared" options with "gcc" without any luck. % gcc -I/usr/local/jdk1.1/include -fPIC -c AudioInFBSD.c % gcc -shared AudioInFBSD.o -o libAudioIn.so ld: No reference to __DYNAMIC Thanks for any tip. Kwang-Soo Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711261916.OAA28859>