[Bug-report] [Lunar Linux 0000262]: Portmap strerror
bug-reports at lunar-linux.org
bug-reports at lunar-linux.org
Sat Mar 22 18:27:30 GMT 2003
The following bug has been CLOSED
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000262
=======================================================================
Reporter: gilkyboy
Handler: niki
=======================================================================
Project: Lunar Linux
Bug ID: 0000262
Category: base
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: closed
=======================================================================
Date Submitted: 2003-03-16 14:41 GMT
Last Modified: 2003-03-22 18:27 GMT
=======================================================================
Summary: Portmap strerror
Description:
Problem detected during build.
I'm a a newbie when it comes to fixing things, so here's what I can give
you based on what I think you need. Also note that this is part of the
base install and I was doing a complete rebuild when I recieved this
error:
strerror.o: In function 'sterror':
strerror.o(.text+0x16): 'sys_errlist' is depreciated; use 'strerror' or
'strerror_r' instead
strerror.o(.text+0xd): 'sys_nerr' is depreciated; use 'strerror' or
'strerror_r' instead
portmap.o: In function 'main':
portmap.o(.text+0xe9): undefined reference to 'errno'
collect2: Id returned 1 exit status
make: *** [portmap] Error 1
=======================================================================
-----------------------------------------------------------------------
mrdave - 2003-03-20 23:20 GMT
-----------------------------------------------------------------------
I resolved the problem editing the file BUILD in
/var/lib/lunar/moonbase/net/portmap adding the following line:
sedit "s/extern int errno;/#include<errno.h>/" portmap.c &&
just before the line
make WRAP_DIR=/usr/lib &&
-----------------------------------------------------------------------
niki - 2003-03-22 18:27 GMT
-----------------------------------------------------------------------
Portmap has been fixed with the fix suggested in the bugnote.
More information about the Lunar-bugs
mailing list