 |
 |
Problems compiling program.
|
 |
|
 |
|
Junior Member
Join Date: Mar 2001
Location: Park Ridge, NJ, USA
Status:
Offline
|
|
When I do "c++ virtfunc.cpp" I get:
In file included from /usr/include/gcc/darwin/2.95.2/g++/libio.h:30,
from /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:36,
from /usr/include/gcc/darwin/2.95.2/g++/iostream.h:31,
from virtfunc.cpp:1:
/usr/include/gcc/darwin/2.95.2/g++/_G_config.h:4: sys/types.h: No such file or directory
/usr/include/gcc/darwin/2.95.2/g++/_G_config.h:85: stddef.h: No such file or directory
In file included from /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:36,
from /usr/include/gcc/darwin/2.95.2/g++/iostream.h:31,
from virtfunc.cpp:1:
/usr/include/gcc/darwin/2.95.2/g++/libio.h:59: sys/cdefs.h: No such file or directory
/usr/include/gcc/darwin/2.95.2/g++/libio.h:275: stdio.h: No such file or directory
I've reinstalled the devtools pkg many times, does anyone know how I can fix this problem?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Medford, MA
Status:
Offline
|
|
Can you post a copy of the file? I could give it a shot. What system calls are you making. It sounds like you might need to link with the system framework or something.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2001
Location: Park Ridge, NJ, USA
Status:
Offline
|
|
Well, I actually don't have the files it's referring to. I don't even have a /sys/ directory within that g++ directory. So for some reason I'm missing files. This is very strange indeed.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by Ekim Neems:
<STRONG>Well, I actually don't have the files it's referring to. I don't even have a /sys/ directory within that g++ directory. So for some reason I'm missing files. This is very strange indeed.</STRONG>
He meant post virtfunc.cpp 
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2001
Location: Park Ridge, NJ, USA
Status:
Offline
|
|
I know what he meant.
What I'm saying is that the error I'm getting makes sense... those header files it's searching for don't exist -- I had a problem installing Fink (the pkg downloads kept failing) and it failed while downloading the g++ update... so I think I should reinstall fink and try again.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |