I'm compiling a file under SuSE 7 which wants
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Of course you shouldn't be using include files from /usr/src/linux/* except if your'e compiling parts of the kernel itself... If you still insist on needing them tho, then you really should try: gcc -I/usr/src/linux/include ...rest_of_your_commandline... Regards, Tor Þann þriðjudagur 16 janúar 2001 00:04 skrifaði Maurice Volaski:
I'm compiling a file under SuSE 7 which wants
For some reason, gcc insists there is no such file or directory. I have tried altering the gcc command line in a number of ways, even putting soft links to the /usr/src/linux/include and /usr/src/linux/include/net directories, but it insists it still can't find them.
Only if I manually enter the complete paths into the <>, are the files found, but since they themselves reference other files in this same directory, gcc says it can't find them.
Who sets the paths for looking through <>? Is it part of the shell's path? If so, I am using zsh, what is the syntax for changing the path variable?
- -- ______ /---------------------------------------\ \ | Þór Sigurðsson | Tor Sigurdsson | t | | Netmaður | Network Specialist | o | |-----------------------------------------| s | | tosi@rhi.hi.is | i | \---------------------------------------/_____/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1e-SuSE (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Y5gL6mRH+PEpr2YRAkomAKCACjba7VBd+3X30gvn5/xRff2c+ACgpxGL HQMUKJdH+KVZz6mE2CePR+U= =Fe/5 -----END PGP SIGNATURE-----
participants (2)
-
Maurice Volaski
-
Tor Sigurdsson