LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2005, 06:12 AM   #1
Anastasia
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
error: conflicting types for `IPPROTO_IP'


Can somebody help me with the next problem:
I'm trying to compile Surge (Request Generator, it's a *nix soft).
After typing "make" it gives me back next errors:

In file included from Surgeclient.c:77:
/usr/include/linux/in.h:26: error: conflicting types for `IPPROTO_IP'
/usr/include/netinet/in.h:33: error: previous declaration of `IPPROTO_IP'
/usr/include/linux/in.h:27: error: conflicting types for `IPPROTO_ICMP'
/usr/include/netinet/in.h:37: error: previous declaration of `IPPROTO_ICMP'
/usr/include/linux/in.h:28: error: conflicting types for `IPPROTO_IGMP'
/usr/include/netinet/in.h:39: error: previous declaration of `IPPROTO_IGMP'
/usr/include/linux/in.h:29: error: conflicting types for `IPPROTO_IPIP'
/usr/include/netinet/in.h:41: error: previous declaration of `IPPROTO_IPIP'
/usr/include/linux/in.h:30: error: conflicting types for `IPPROTO_TCP'
/usr/include/netinet/in.h:43: error: previous declaration of `IPPROTO_TCP'
/usr/include/linux/in.h:31: error: conflicting types for `IPPROTO_EGP'
/usr/include/netinet/in.h:45: error: previous declaration of `IPPROTO_EGP'
/usr/include/linux/in.h:32: error: conflicting types for `IPPROTO_PUP'
/usr/include/netinet/in.h:47: error: previous declaration of `IPPROTO_PUP'
/usr/include/linux/in.h:33: error: conflicting types for `IPPROTO_UDP'
/usr/include/netinet/in.h:49: error: previous declaration of `IPPROTO_UDP'
/usr/include/linux/in.h:34: error: conflicting types for `IPPROTO_IDP'
/usr/include/netinet/in.h:51: error: previous declaration of `IPPROTO_IDP'
/usr/include/linux/in.h:35: error: conflicting types for `IPPROTO_RSVP'
/usr/include/netinet/in.h:61: error: previous declaration of `IPPROTO_RSVP'
/usr/include/linux/in.h:36: error: conflicting types for `IPPROTO_GRE'
/usr/include/netinet/in.h:63: error: previous declaration of `IPPROTO_GRE'
/usr/include/linux/in.h:38: error: conflicting types for `IPPROTO_IPV6'
/usr/include/netinet/in.h:55: error: previous declaration of `IPPROTO_IPV6'
/usr/include/linux/in.h:40: error: conflicting types for `IPPROTO_PIM'
/usr/include/netinet/in.h:79: error: previous declaration of `IPPROTO_PIM'
/usr/include/linux/in.h:42: error: conflicting types for `IPPROTO_ESP'
/usr/include/netinet/in.h:65: error: previous declaration of `IPPROTO_ESP'
/usr/include/linux/in.h:43: error: conflicting types for `IPPROTO_AH'
/usr/include/netinet/in.h:67: error: previous declaration of `IPPROTO_AH'
/usr/include/linux/in.h:44: error: conflicting types for `IPPROTO_COMP'
/usr/include/netinet/in.h:81: error: previous declaration of `IPPROTO_COMP'
/usr/include/linux/in.h:45: error: conflicting types for `IPPROTO_SCTP'
/usr/include/netinet/in.h:83: error: previous declaration of `IPPROTO_SCTP'
/usr/include/linux/in.h:47: error: conflicting types for `IPPROTO_RAW'
/usr/include/netinet/in.h:85: error: previous declaration of `IPPROTO_RAW'
/usr/include/linux/in.h:49: error: conflicting types for `IPPROTO_MAX'
/usr/include/netinet/in.h:88: error: previous declaration of `IPPROTO_MAX'
/usr/include/linux/in.h:53: error: redefinition of `struct in_addr'
/usr/include/linux/in.h:109: error: redefinition of `struct ip_mreq'
/usr/include/linux/in.h:115: error: redefinition of `struct ip_mreqn'
/usr/include/linux/in.h:166: error: redefinition of `struct in_pktinfo'
/usr/include/linux/in.h:174: error: redefinition of `struct sockaddr_in'

What can be wrong?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
conflicting types error in parser.c snecklifter Programming 6 04-08-2005 06:59 PM
RPM Conflicting Package Error kougar Linux - Newbie 1 09-01-2004 08:21 PM
warning "conflicting types for buit-in function" while cross-compiling cheema Programming 0 07-07-2004 03:02 AM
Raw socket creation error (IPPROTO_IP not supported) linfreak Programming 1 06-17-2004 12:37 PM
Raw socket creation error (IPPROTO_IP not supported) linfreak Linux - Networking 1 06-17-2004 10:53 AM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration