> According to aoc2: While burning my CPU.
> 
> can anyone tell me what i need to do to get util-linux 2.9i to compile
> properly? it halts on ipcs.c. i did a dejanews query in search of an
> answer and according to what i've found, pam has to be disabled or
> something [ the poster did not go into detail]... is this correct? if so,
> how do i go about it?

You do not say what kernel version you are using, no gcc version etc.
However that may not be relavant, things have changed a lot in
/usr/src/linux/include/linux/shm.h between 2.0.36 and 2.2.4
Anyway, if shm.h is defined at the top of ipcs.c then i dont realy know of
any other things to point you to, execpt check that you have a symlink in
/usr/include pointing to /usr/src/linux/include/linux

The problem could also lye in the use of a wrong lib version, that
information should be in either a README or INSTALL file included in the
archive.

> 
> gcc -c -pipe -O3 -m486 -fomit-frame-pointer -I. -I../lib -Wall
> -I/usr/include/ncurses -DNCH=0   -DSBINDIR=\"/sbin\"
> -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" ipcs.c
> -o ipcs.o
> ipcs.c: In function `do_shm':
> ipcs.c:215: storage size of `shm_info' isn't known
> ipcs.c:220: `SHM_INFO' undeclared (first use this function)
> ipcs.c:220: (Each undeclared identifier is reported only once
> ipcs.c:470: `MSG_STAT' undeclared (first use this function)
> make[1]: *** [ipcs.o] Error 1
> make[1]: Leaving directory `/usr/local/util-linux-2.9i/sys-utils'
> make: *** [all] Error 1                 
> 
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]
 

Reply via email to