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

Re: BUG: probs with resolving functions in shared library



Hi Stefan,

thanks for the tip; unfortunately, we *do* need to use the -export-dynamic
flag with our main executable, so this helps but doesn't solve the problem
sufficiently to get Applixware for Linux/Alpha any closer to running.  :)

Eric

Quant-X Alpha Linux Support <stefan@sime.com> writes:

> I don't know if it helps:
> 
> ld -shared -Bdynamic --noinhibit-exec -o libtest2.so test2.o test3.o
> 
> works here as expected. (The difference is only that I'm using
> -Bdynamic instead of -Bsymbolic) 
> 
> It is a bug. But ok so.
> If you want -Bdynamic work as the specs say, you need to compile the main
> program (!) with -Xlinker -export-dynamic. If you do this, you
> get the "OOPS!".
-- 
Software Development Engineer / ericding@applix.com               <><
Applix, Inc. / 112 Turnpike Road / Westboro MA 01581-2842
TEL: (508) 870-0300 x284 / FAX: (508) 366-4873



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