This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

getpeername on LinuxPPC (APUS)


I've compiled glibc-2.1.1 and am using it on a LinuxPPC APUS
(LinuxPPC on Amiga PowerUP).  I've been using binutils-2.9.1.0.25 and
egcs-1.1.2.  It appears to me that the full getpeername  function is not
being included in the built libraries.  It seems that  possibly only a
stub functions is there.  How can I tell?

I'm trying to compile netkit-telenet-0.12 and it gives an error when run.
"getpeername: Socket operation on non-socket.
In the code the line is: 
if(getpeername(0,(struct sockaddr *)&from, &fromlen)<0) {
    perror("getpeername");
    ...

Fred



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]