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


This is a discussion on "Rot 1.4" in the Top Mud Sites MUD Coding forum :

When i try to 'make' in the src for the very first time these come up: 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 ...



You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today!

If you have any problems with the registration process or your account login, please contact us.

If you are a registered member of the old TMS forums, please click here
Reply
 
LinkBack Thread Tools
Old 10-14-2002, 03: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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2002, 12:54 PM   #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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 12:53 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Style based on a design by Essilor
Copyright Top Mud Sites.com 2007