Subject: More on the dlopen problems, (problem found)
To: NetBSD VAX Port <port-vax@netbsd.org>
From: Anders Hogrelius <ahs@hogrelius.nu>
List: port-vax
Date: 07/17/2001 01:14:55
I found the problem! It seems that dlerror doesn't report an error
when calling dlsym using the undecorated function name. If i call
dlsym and add an underscore before the name the demo code works.

Shouldn't dlsym fail and return NULL when using the undecorated
function name?

--
cheers,

/Anders


VAX is something we should do, VAX is something that's not Big Blue.
VAX is natural, VAX is good.
Not everyone's got Digital, but everybody should.
VAX is natural, VAX is fun.
VAX is best when it's ....  one on one, one on one.
******************************************-*******************************
* Anders Hogrelius       Phone : +46 21 381860
* Tessingatan 12         E-mail: anders@hogrelius.nu
* SE-72216 Vasteras      Web:    http://www.hogrelius.nu/~ahs/
* SWEDEN