|
因為需要用到 nfs 所以要編譯 portman 但總是出錯很想請教各位大大幫忙.
cc -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD -O2 -o portmap portmap.o pmap_check.o from_local.o daemon.o strerror.o -lwrap -lnsl
strerror.o(.text+0x17): In function `strerror':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
strerror.o(.text+0xe): In function `strerror':
: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
portmap.o(.text+0x283): In function `main':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make: *** [portmap] Error 1
己編譯3次老出現相同的情形. |
|