Results 1 to 2 of 2
  1. #1

    Member Since
    Apr 24, 2010
    need help missing header files with gcc
    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"
    I dont' know what to do as I've updated my xcode just an hour a go to see if that might have been the problem but it isn't. SO i was wondering if someone had any recommendations.

    Right now I am trying to get gcc4.4.3 downloaded via "sudo port install gcc 423" any help would be great. thanks

  2. #2

    xstep's Avatar
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. All my files are missing!
    By Rosella in forum OS X - Operating System
    Replies: 4
    Last Post: 05-11-2012, 04:33 AM
  2. Missing Files and Missing Space
    By fsa526 in forum Switcher Hangout
    Replies: 4
    Last Post: 01-12-2010, 02:27 PM
  3. How to upgrade gcc 3 to gcc 4 intel mac
    By jonnyd in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 12-29-2007, 05:34 PM
  4. Missing files
    By Moji in forum Running Windows (or anything else) on your Mac
    Replies: 1
    Last Post: 10-09-2007, 02:09 AM
  5. Missing Header Files
    By chappy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 02-01-2005, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts