473,327 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

missing include files (sys/param.h, sys/socket.h, net/if.h, ...)

Hi

I'm using VC++ 6.0 SP5 under windows 2k. I tried to compile the net-snmp
(sourceforge.net) source.
When I try to compile, I get the following errors (missings):

Cannot open include file: 'sys/param.h'
Cannot open include file: 'sys/socket.h'
Cannot open include file: 'net/if.h'

Can somebody help me?

Thanks
Jul 19 '05 #1
2 9515
Ronald Meier wrote:
Hi

I'm using VC++ 6.0 SP5 under windows 2k. I tried to compile the net-snmp
(sourceforge.net) source.
When I try to compile, I get the following errors (missings):

Cannot open include file: 'sys/param.h'
Cannot open include file: 'sys/socket.h'
Cannot open include file: 'net/if.h'

Can somebody help me?


Yes, the folks in a Windows, or VC++ newsgroup can.
Sorry, but this newsgroup, news:comp.lang.c++, discusses
the _standard_ C++ language which doesn't have facilities
for sockets or networking. Those are platform specific
issues and best discussed in a platform or compiler
newsgroup.

See the FAQ and Welcome.txt links below.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 19 '05 #2
Ronald Meier wrote:
Hi

I'm using VC++ 6.0 SP5 under windows 2k. I tried to compile the net-snmp
(sourceforge.net) source.
When I try to compile, I get the following errors (missings):

Cannot open include file: 'sys/param.h'
Cannot open include file: 'sys/socket.h'
Cannot open include file: 'net/if.h'


Did you read the FAQ, specifically the 'Does it run on Windows' bit?

- Keith

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Marc Ferry | last post by:
I already posted this mail in comp.sys.hp and comp.sys.hp.hpux but had no response. As this problem might be present on other OSes than HP-UX 10.20, I crosspost it here, in the hope of getting an...
28
by: Ramesh | last post by:
Hi, I am currently maintaining a legacy code with a very very large code base. I am facing problems with C/C++ files having a lot of un-necessary #includes. On an average every C/C++ file has...
2
by: Nick Craig-Wood | last post by:
We are currently investigating whether to move the data files from our application into python for ease of maintenance. Each data item turns into a class definition with some class data. The...
13
by: kbperry | last post by:
Hi all, Background: I need some help. I am trying to streamline a process for one of our technical writers. He is using Perforce (version control system), and is constantly changing his word...
3
by: sunnylele | last post by:
Hi, all, I have a question on the use of #include: #include <unistd.h> #include <asm/unistd.h> #include "nn.h" What are the differences between the above three usages? It seems the third...
1
by: bigjl | last post by:
I tried to run "inet_ntoa(*((struct in_addr *)h->h_addr))", but it always says 'inet_ntoa' has not been declared. What head file should i include to make the above code running? The following is the...
4
by: Ignoramus6539 | last post by:
There were some strange requests to my server asking for config.php file (which I do not have in the requested location). I did some investigation. Seems to be a virus written in perl,...
10
by: gasfusion | last post by:
For some reason my socket isn't doing anything when i try connect. I have the header file and the class provided below. Everything works except for the socket_connect() function. Also, i do not...
7
by: Giancarlo Bassi | last post by:
Please, what are here the 11 include files (found over the internet)? */mozzarella.c /* #include #include #include #include #include #include
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.