Date: Tue, 28 Mar 2000 08:59:50 -0500 (EST) From: "Viren R.Shah" <viren@rstcorp.com> To: freebsd-questions@freebsd.org Subject: building shared libraries... Message-ID: <14560.47830.637154.174971@jabberwock.rstcorp.com>
next in thread | raw e-mail | index | archive | help
I'm currently having a problem with building and using a shared library on FreeBSD (-current). I use the following steps: gcc -g -fpic -c shared_lib.c gcc -g -shared -o libshared_lib.so shared_lib.o gcc -g -L. -R. -lshared_lib -o memdump memdump.c As soon as a function from the shared library is called by memdump, it bus error's on me. Any suggestions? Thanks Viren -- Viren Shah {viren@rstcorp.com} {http://www.rstcorp.com/~vshah/} "I met a girl who sang the blues, and I asked her for some happy news, but she just smiled and turned away." -- Don McLean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14560.47830.637154.174971>