In my version version of diald, .98.2, diald.h includes both files; the
linux version if GLIBC is defined, the inet version otherwise.
It is hardly wise to delete or move directories to avoid this problem
unless you know what you are doing. The problem usually gets worse.
To create a link to the linux include directory
cd /usr/include; rm linux; ln -s /usr/src/linux/include linux
There should be two or three other such links into the kernel source.
less /usr/src/linux/README
Gcc normally knows to get header files from /usr/include
unless it has been configured otherwise. You should not have to give it
that information, but you can add
-I/usr/include
to the CFLAGS line of the Makefile as a temporary fix.
BTW, we are talking about header files, not libraries. Header files
contain declarations and other pieces of information necessary for the
compiler to do it's job. Libraries contain object code (for the
declared functions and variables) which the linker links to your object
files (once you get it to compile). They are quite different creatures.
If you are still having trouble, post the offending lines from the
compiler and tell us what system you are running and which version of
diald you are using.
-Gyepi
On Sun, Jun 13, 1999 at 03:03:21PM +0100, Rupert Heesom wrote:
> I've managed to install the make and gcc etc for compiling the diald
> program, but have conflicts which the "make depend" highlights.
>
> I need to know how to get round these conflicts, being fairly new to
> compiling in UNIX.
>
> Initially make talked about the in.h library being in two places. I found
> one location was a link to "/usr/src/linux-2.0.26/include/linux". The
> other location was "/usr/include/netinet" or something like that.
>
> I need to know which one of these is the incorrect one. In trying to get
> rid of one of them to see what would happen, I moved the "netinet"
> directory elsewhere. But that didn't seem to work, so I moved it back
> again. I tried to move the link file, but couldn't, so deleted it
> instead. the "make" program is still complaining about trying to find
> resources defined in the code.
>
> First: how do I recreate the link file?
>
> Second: Where Is the Diald source suppose to get the library modules
> from? I suspect that the link file to
> "/usr/src/linux-2.0.36/include/linux" is the correct place for libraries
> for my kernel version, so I assume that I am supposed to use this source.
>
> Any help appreciated. I'm getting somewhere; just need a bit more help!
>
> Regards
>
> rupert.
> ----------------------------------------------------------------------------
> --------------------------------------
> Yesterday it worked Remember: Windows is not the answer -
> Today it is not working Windows is the question and the answer is
> no...
> Windows is like that.
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]