Article View: gnu.gcc.help
Article #50125Question about G++ and System Calls
From: Tim Strayer
Date: Tue, 16 Nov 1993 01:08
Date: Tue, 16 Nov 1993 01:08
28 lines
1419 bytes
1419 bytes
Hello, I have recently installed gcc-2.5.2 and libg++-2.5.1 on a Sun Sparc1. Everything seems to be in place. When I try to compile code that has such system calls as... socket bind sendto recvfrom getsockname ioctl ftok shmat shmctl msgctl msgsnd msgrcv ...I get... warning: implicit declaration of function `int socket(...)' or whatever function name. I have included the proper files (this compiles just fine with the native CC). I have tried to find the declarations in the distribution, but the closest I can come is the file SYSCALLS.c.X. I followed the install directions very carefully. Is there something you can see that I've missed? Or do I just have to live with these warnings? I really appreciate your time, Tim Strayer strayer@ca.sandia.gov 510/294-3671
Technical Details
Message-ID:
<199311160103.RAA15676@california.sandia.gov>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ca.sandia.gov!strayerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,b7e62509e08a414e,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-15 18:03:34 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ca.sandia.gov!strayer From: strayer@ca.sandia.gov (Tim Strayer) Newsgroups: gnu.gcc.help Subject: Question about G++ and System Calls Date: 15 Nov 1993 20:08:09 -0500 Organization: GNUs Not Usenet Lines: 28 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <199311160103.RAA15676@california.sandia.gov>