FTW Will not compile in Unix

This is a discussion on FTW Will not compile in Unix within the Linux Programming forums, part of the Platform Specific Boards category; Hello, I know this is the linux thread but its the closest matching I could find. I am writing a ...

  1. #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

  2. #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

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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