Subject: Re: Compiling openssl-0.9.6e failed on pmax
To: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
From: Maciej W. Rozycki <macro@ds2.pg.gda.pl>
List: port-pmax
Date: 08/08/2002 16:54:09
On Thu, 8 Aug 2002, Uwe Lienig wrote:

> thank you for your answer. But I can not figure out which compiler options are
> to be set to make the linker happy. I read the man page to dl* funcs. The man
> page says, that refs to these funcs are automagically added when a dynamic
> object is to be produced. This is what the man page says

 You need to add "-ldl" to flags passed to the linker.  The fast hackish
way is to add it to the generated Makefile to the variable called EX_LIBS
after `./config' is run.  The real solution is to add an entry for
"NetBSD-pmax" (or "NetBSD-mipsel") to the perl "Configure" script in the
package.  The syntax is shown in the file and you may verify results with
`make TABLE'.  The only NetBSD hosts listed now are: "NetBSD-m68",
"NetBSD-sparc" and "NetBSD-x86" -- not an impressive list, I'd say. 

 For a permanent advantage it would be worthwhile to send the resulting
entry to openssl maintainers.  Maybe one is already present in the 0.9.7
beta so it could be just copied as is -- I haven't checked.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +