On Mon, 29 Jul 1996, Kai Grossjohann <grossjohann_at_charly.informatik.uni-dortmund.de> wrote:
>>>>>> James A Basilio writes:
>
> JAB> can anyone give me a tip as to how to fix this error message?
> JAB> ld: Undefined symbol
> JAB> _strerror
>
>You get 2.0.43 where this is fixed (I think) or you just fix it
>yourself: strerror(x) can be substituted with sys_errlist[x] on
>SunOS. Just:
>
> #ifdef <Variable_that_sez_SunOS_goes_here>
> #define strerror(x) sys_errlist[x]
> #endif
>
>somewhere.
Actually the above #define is not safe. Consider what happens when (x)
is outside the range [0..sys_nerr). A better choice is to get a copy of
strerror(3) from 4.4BSD, FreeBSD2.x, Linux, bind-4.9.[34] or similar.
Peter
----
Peter Jeremy (VK2PJ) peter.jeremy_at_alcatel.com.au
Alcatel Australia Limited
41 Mandible St Phone: +61 2 690 5019
ALEXANDRIA NSW 2015 Fax: +61 2 690 5247
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Jul 29 1996 - 16:22:11 BST