> From [EMAIL PROTECTED] Mon May 13 18:16:44 2002
> From: Arthur Boos Jr <[EMAIL PROTECTED]>
> Subject: LPRng: *** ifhp V.3.5.7 build:  _strerr not found!
> Date: Mon, 13 May 2002 12:40:23 -0300 (EST)

Hello,

I have had the similar problem during compiling LPRng-3.7.4 and ifhp-3.4.4
under SunOS 4.1.4 using gcc-2.7.2.

I found appropriate information and file ('sys-sunos4.c')
using Altavista in the archive:
  http://src.openresources.com/debian/src/net/ppp-2.3.5.orig/ppp-2.3.5/ppd/sys-sunos4.c

The small portion of this file was than succesfully used with my
compilation, after adding one line to 'config.h' file:
  #define HAVE_STRERROR

Both files ('sys-sunos4.c' and portion of it used by myself) are in 
  ftp://ftp.ibspan.waw.pl/pub/sunos/strerror

Hope this helps,

Piotr Kowalski

---------------------------------------------------------------------------
Piotr Kowalski                         e-mail: [EMAIL PROTECTED]
Systems Research Institute                     [EMAIL PROTECTED]
of the Polish Academy of Sciences       phone: +(48-22) 837-07-63
Newelska 6, 01-447 Warsaw, POLAND         fax: +(48-22) 837-27-72
---------------------------------------------------------------------------

> 
> Hi,
> 
>       I'm trying to build ifhp V. 3.5.7 on a sparc running SunOS 4.1.4,
> but the process is aborted with the error message:
> 
> make[1]: Entering directory `/home/work/ifhp-3.5.7/src'
> gcc -lresolv -o ifhp ifhp.o accounting.o checkcode.o debug.o errormsg.o globmatch.o 
>open_device.o perlobj.o plp_snprintf.o safemalloc.o safestrutil.o stty.o vars.o 
>-lposix
> collect2: ld returned 2 exit status
> ld: Undefined symbol
>    _strerror
> make[1]: *** [ifhp] Error 1
>  
>       
>       The configure gives:
> ....
> checking for strerror... no
> ....
> checking for sys_errlist array... yes
> checking for sys_errlist declaration...
> ....
> 
>       The LPRng V. 3.8.10 compiled ok and is working well. Where is ld 
> suppposed to find "strerror" ? Maybe a lack of a library in my system ?
> I'm using an old gcc version (2.7.2), but LPRng compiled ok
> without any dificulties.
> 
>       Any tips would be apreciated!
> 
> Arthur
> -- 
> .____________________________________________________________________________.
> | Universidade Federal do Rio Grande do Sul | Arthur Boos Jr                 |
> | Instituto de Fisica                       | system Manager                 |
> | Av. Bento Goncalves, 9500, Agronomia      | Phone: (51) 3316-6550/3316-6559|
> | CEP 95501-970  Porto Alegre/RS  Brasil    | FAX:   (51) 3319-1762          |
> `-------------------------------------------| E-Mail: [EMAIL PROTECTED]       |

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to