[Bug-report] [Lunar Linux 0000262]: Portmap strerror

bug-reports at lunar-linux.org bug-reports at lunar-linux.org
Thu Mar 20 23:20:51 GMT 2003


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000262
=======================================================================
Reporter:                   gilkyboy
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000262
Category:                   base
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2003-03-16 14:41 GMT
Last Modified:              2003-03-20 23:20 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 &&


More information about the Lunar-bugs mailing list