scoobydope
02-24-2001, 03:04 PM
This is strange, i was just trying to install portsentry again on a new box, and when i finished all the basic setup and tried to run make linux, i got the following :
(this is only a partial snippet, but you get the idea)
/usr/include/linux/param.h:4: asm/param.h: No such file or directory
In file included from /usr/include/signal.h:300,
from portsentry.h:37,
from ./portsentry_util.c:31:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
from /usr/include/netdb.h:31,
from portsentry.h:39,
from ./portsentry_util.c:31:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from portsentry.h:42,
from ./portsentry_util.c:31:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
In file included from /usr/include/sys/param.h:25,
from portsentry.h:45,
from ./portsentry_util.c:31:
/usr/include/linux/param.h:4: asm/param.h: No such file or directory
make: *** [linux] Error 1
its got all these No such file or directory problems.
now if i do a locate asm/param.h i get NOTHING.
however, locate param.h finds this:
locate param.h
/usr/include/rpcsvc/bootparam.h
/usr/include/sys/param.h
/usr/src/linux-2.2.17/include/asm-i386/param.h
/usr/src/linux-2.2.17/include/asm-i386/shmparam.h
/usr/src/linux-2.2.17/include/linux/param.h
as a matter of fact every error above, comes from errors stating that it can't locate asm/*whatever*
well, there obviously isn't an asm directory, its bloodywell asm-i386
So my question is this:
By looking at the error generated above, is the error being generated from the portsentry.h files? or does it look like the actual system files (/include/bits/socket.h ... /include/linux/param.h etc) are to blame.
This is very strange indeed.
(this is only a partial snippet, but you get the idea)
/usr/include/linux/param.h:4: asm/param.h: No such file or directory
In file included from /usr/include/signal.h:300,
from portsentry.h:37,
from ./portsentry_util.c:31:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or directory
In file included from /usr/include/sys/socket.h:34,
from /usr/include/netdb.h:31,
from portsentry.h:39,
from ./portsentry_util.c:31:
/usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from portsentry.h:42,
from ./portsentry_util.c:31:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
In file included from /usr/include/sys/param.h:25,
from portsentry.h:45,
from ./portsentry_util.c:31:
/usr/include/linux/param.h:4: asm/param.h: No such file or directory
make: *** [linux] Error 1
its got all these No such file or directory problems.
now if i do a locate asm/param.h i get NOTHING.
however, locate param.h finds this:
locate param.h
/usr/include/rpcsvc/bootparam.h
/usr/include/sys/param.h
/usr/src/linux-2.2.17/include/asm-i386/param.h
/usr/src/linux-2.2.17/include/asm-i386/shmparam.h
/usr/src/linux-2.2.17/include/linux/param.h
as a matter of fact every error above, comes from errors stating that it can't locate asm/*whatever*
well, there obviously isn't an asm directory, its bloodywell asm-i386
So my question is this:
By looking at the error generated above, is the error being generated from the portsentry.h files? or does it look like the actual system files (/include/bits/socket.h ... /include/linux/param.h etc) are to blame.
This is very strange indeed.