dynamic linking

Andrew Davidson aed at netcom.COM
Fri Mar 15 11:33:26 AEST 1991


Hi
I have been having some trouble with dynamic linking and loading.

1) I am using Wilson Ho's dld-3.2.1
        sunos 4.1.1  on a sparc  station 1+
        g++-1.37.0

I can get dld to correctly link and load c object files in to my c++
application, but I can not get dld to work with c++ object files.
dld_get_func
fails. Could this because c++ mangels names? Is there anyway to figure
out what
the name of the function in the object file is?

2) has anyone tried dynamic linking using the dlopen() functions
provided in
dlfcn.h. I looked at the header file and noticed that the prototype is
in the
K&R style not ANSI style.

Thanks in advance
Andy

-- 
-----------------------------------------------------------------
                  "bede-bede-bede Thats all Folks"
				Porky Pig
Andy Davidson
Woodside CA.
aed at netcom.COM
-----------------------------------------------------------------



More information about the Comp.unix.wizards mailing list