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

Re: Problems with dlopen()



on 16/2/02, at the evil hour of 7:02 PM +0100, Artur Grabowski wrote:
Peter Valchev <pvalchev_(_at_)_sightly_(_dot_)_net> writes:

 On a.out platforms (OpenBSD/i386, sparc, m68k, etc) the symbol name has
 to be prepended by an underscore.

 So

 >     f_handle = dlsym(handle,"myfunc");

 should become

> f_handle = dlsym(handle,"_myfunc");


I think dlsym should handle this..

with or without #include <a.out.h> ??



--
William C. Allen, BLS, EET
allenwc_(_at_)_infomatrix_(_dot_)_ca
www.infomatrix.ca


Visit your host, monkey.org