This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
getpeername on LinuxPPC (APUS)
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: getpeername on LinuxPPC (APUS)
- From: fheitka@ibm.net
- Date: Wed, 30 Jun 1999 07:20:37 -0400
- Reply-To: glibc-linux@ricardo.ecn.wfu.edu
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