Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't compile rinetd

15 views
Skip to first unread message

Oscar Miranda

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
Hello again,

Since upgrading my kernel (RH) from 2.0.32 to 2.0.35 I have had some
difficulty in compiling apps. The compiler seems to complain that
something or other is "not a directory" and terminates with an error. If
someone could point this would be programmer in the right direction I
would really appreciated. Thanks.

Oscar

-DLINUX -g -c rinetd.c -o rinetd.o
In file included from /usr/include/sys/socket.h:34,
from rinetd.c:4:
/usr/include/socketbits.h:218: asm/socket.h: Not a directory
In file included from /usr/include/signal.h:267,
from rinetd.c:6:
/usr/include/sigcontext.h:26: asm/sigcontext.h: Not a directory
In file included from /usr/include/errno.h:36,
from rinetd.c:9:
/usr/include/errnos.h:24: linux/errno.h: Not a directory
make: *** [rinetd.o] Error 1


Clifford Kite

unread,
Aug 19, 1998, 3:00:00 AM8/19/98
to
You can try setting up symbolic links to some kernel source tree include
directories. This can be done by

cd /usr/include
ln -sf /usr/src/linux/include/asm-i386 asm
ln -sf /usr/src/linux/include/scsi
ln -sf /usr/src/linux/include/linux

Exactly as shown.

===


Oscar Miranda (os...@intraware.com) wrote:
>Hello again,

>Since upgrading my kernel (RH) from 2.0.32 to 2.0.35 I have had some
>difficulty in compiling apps. The compiler seems to complain that

[snip]

>-DLINUX -g -c rinetd.c -o rinetd.o
>In file included from /usr/include/sys/socket.h:34,
> from rinetd.c:4:
>/usr/include/socketbits.h:218: asm/socket.h: Not a directory
>In file included from /usr/include/signal.h:267,
> from rinetd.c:6:
>/usr/include/sigcontext.h:26: asm/sigcontext.h: Not a directory
>In file included from /usr/include/errno.h:36,
> from rinetd.c:9:
>/usr/include/errnos.h:24: linux/errno.h: Not a directory
>make: *** [rinetd.o] Error 1


--
Clifford Kite Not a guru. (tm)
ki...@inetport.com

0 new messages