C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-12-2005, 08:54 AM   #1
Registered User
 
Join Date: Jul 2002
Posts: 47
FTW Will not compile in Unix

Hello,
I know this is the linux thread but its the closest matching I could find.

I am writing a program on a SCO OpenServer 5.07 machine.

Problem is that even if I create a program that does nothing with ftw.h included the program failes to compile due to the following errors:
__p __f and __d are not declared

and some other parse errors inside of ftw.h

my main program looks like this
Code:
#include<ftw.h>
int main()
{
return 0;
}
I compile it with this syntax

g++ test.cpp

If anyone knows what the problem is it would be much appreciated...Thanks
Chronom1 is offline   Reply With Quote
Old 08-12-2005, 09:45 AM   #2
Registered User
 
Join Date: Jul 2002
Posts: 47
nm I found the solution,

On UnixWare I had to decleare _EFTSAFE which I do not know what it means and why it needs declared
Chronom1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compile program? Goosie C++ Programming 9 06-22-2005 02:26 PM
unix terminal read/write pktcperlc++java Tech Board 3 01-12-2005 08:58 AM
dvv-cpp not able to compile? Rune Hunter C++ Programming 12 10-23-2004 06:36 PM
how to compile & run c programs in unix? Unregistere C Programming 2 10-09-2002 10:53 PM
unix output alokin C Programming 1 09-25-2002 09:37 AM


All times are GMT -6. The time now is 12:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22