Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 10-14-2002, 02:53 AM   #1
Jayl
New Member
 
Join Date: Apr 2002
Posts: 19
Jayl is on a distinguished road
When i try to 'make' in the src for the very first time these come up:


Quote:
Originally Posted by
gcc -c -Wall -O -g comm.c
comm.c:175: conflicting types for `accept'
/usr/include/sys/socket.h:191: previous declaration of `accept'
comm.c:176: conflicting types for `bind'
/usr/include/sys/socket.h:111: previous declaration of `bind'
comm.c:178: conflicting types for `getpeername'
/usr/include/sys/socket.h:127: previous declaration of `getpeername'
comm.c:179: conflicting types for `getsockname'
/usr/include/sys/socket.h:115: previous declaration of `getsockname'
make: *** [comm.o] Error 1
What should i do?

-Jayl
Jayl is offline   Reply With Quote
Old 10-14-2002, 11:54 AM   #2
Kastagaar
Member
 
Join Date: Apr 2002
Location: Hampshire, UK
Posts: 117
Kastagaar is on a distinguished road
Send a message via Yahoo to Kastagaar
Remove the re-declarations in comm.c (NOT the original declarations in the system header files).

Kas.
Kastagaar is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 07:31 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014