cam_rat
asked on
INCLUDE files can't be found.
I am trying to compile various sybase products. I realised I hadn't installed the include files eg.(stdio.h,stdlib.h)
So I whacked on the Kernel headers RPM
well no i can don a global disk search and find the include files. but programs I am compiling cannot find the include files.
they aren't all in the one directory either.
Basically my question is:
How is the path of the include files set?
So I whacked on the Kernel headers RPM
well no i can don a global disk search and find the include files. but programs I am compiling cannot find the include files.
they aren't all in the one directory either.
Basically my question is:
How is the path of the include files set?
ASKER
the include files are located in more than one location.
I am using Makefiles.
I shouldn't have to enter the path into the makefile.
the include path should be located elsewhere.
I am using Makefiles.
I shouldn't have to enter the path into the makefile.
the include path should be located elsewhere.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
sorry.. I looked at your first comment more closely and you were perfectly right.
/mount1/include
Then, you need the following command to compile:
gcc -I/mount1/include my.c -o my.o