04-24-2010, 12:40 AM #1
need help missing header files with gcc
- Member Since
- Apr 24, 2010
Hi guys, I was wondering if someone can help me understand what is going on.
I have a macbook running tiger 10.5.8 and am using gcc v4.0.1. Right now I am trying to do some programming with raw sockets but when I compile it says some of the header files are not available ie.
"netpacket/packet.h : No such file or directory"
Right now I am trying to get gcc4.4.3 downloaded via "sudo port install gcc 423" any help would be great. thanks
04-24-2010, 08:54 PM #2
- Member Since
- Jun 25, 2005
- On the road
- 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
I won't pretent to the know the answer, but I did notice that searching Google shows that you are the first to ask about packet.h. It looks like OS X doesn't have that particular .h file, so it is likely a platform specific thing. Perhaps you want the socket.h file?
Apple seems to have a lot of possibilities. Perhaps some of the Apple docs will lead you to the right answer for your project; "Introduction to CFNetwork Programming Guide", "Setting Up Socket Streams", "OpenPlay and NetSprocket".CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Rosella in forum OS X - Operating SystemReplies: 4Last Post: 05-11-2012, 03:33 AM
By fsa526 in forum Switcher HangoutReplies: 4Last Post: 01-12-2010, 01:27 PM
By jonnyd in forum OS X - Development and DarwinReplies: 2Last Post: 12-29-2007, 04:34 PM
By Moji in forum Running Windows (or anything else) on your MacReplies: 1Last Post: 10-09-2007, 01:09 AM
By chappy in forum OS X - Development and DarwinReplies: 0Last Post: 02-01-2005, 02:57 PM