I am finding the documentation on A LOT of Linux subjects to be very poor for the beginner. The only thing I successfully compiled was the
2.0 kernel! I still cannot get my mouse to work, X to work, and now I cannot get NCSA server to work! I am trying to upgrade my libc but
where do I unzip the files to? I can't find it!
I tried to follow the instructions:
REQUIRED. This package contains the header files for libc, shared and
static ELF libraries libc and libm, and the static ELF library libbsd.a.
The header files in libc-5.3.12.bin.tar.gz are not complete. You need to
install the kernel source tree for the system-dependent header files.
The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You
# gzip -dc lib-x.y.z.bin.tar.gz | tar xvvf - usr/include
What is this lib-x.y.z.bin.tar.gz!?! I cannot find it. Is it suppose to be libc-x.y.z.bin.tar.gz? And where do you put the gz file??!?! I
assumed it was in /.
So I tried what I thought and unzipped libc-5.3.12.tar.gz first in /usr/src, I had problems so I removed it from there and now it is in /usr
and I have a /usr/libc directory. I followed the README and I get tons of warnings when I do a make in /usr/libc. The last lines output from
the make are:
fd_kern.c:1697: structure has no member named `msg_accrightslen'
fd_kern.c:1698: structure has no member named `msg_accrights'
fd_kern.c:1714: structure has no member named `msg_accrights'
fd_kern.c: In function `setsockopt':
fd_kern.c:1792: warning: passing arg 4 of `machdep_sys_setsockopt' discards `con
st' from pointer target type
../../../../include/unistd.h: At top level:
../../../../include/unistd.h:659: warning: `ustat' defined but not used
../../../../include/sys/stat.h:134: warning: `__stat' defined but not used
../../../../include/sys/stat.h:144: warning: `__lstat' defined but not used
../../../../include/sys/stat.h:149: warning: `lstat' defined but not used
../../../../include/sys/stat.h:154: warning: `__fstat' defined but not used
../../../../include/sys/stat.h:159: warning: `fstat' defined but not used
../../../../include/sys/stat.h:164: warning: `__mknod' defined but not used
../../../../include/sys/stat.h:169: warning: `mknod' defined but not used
make: *** [../../../elfshared/libpthreads/fd_kern.o] Error 1
make: Leaving directory `/usr/libc/sysdeps/pthreads/mit'
make: *** [lib] Error 1
make: Leaving directory `/usr/libc/sysdeps/pthreads'
make: *** [lib] Error 2
make: Leaving directory `/usr/libc/sysdeps'
make: *** [lib] Error 2
I did install GCC 2.7.2 and from what I can tell, that install was easy and went well... (at least I hope). gcc -v now says 2.7.2. I also
installed binutils 220.127.116.11 (at least I think I did-- following the readme as best I could).
Now the whole point to wasting my entire Sunday was to try to compile NCSA becuase the binary I downloaded for linux just gives me non
stopping error messages. So I go into /usr/local/etc/httpd/src and type make linux. This time it seems to have compiled... but when I run
httpd, I still get the same problem. The error message httpd: can't resolve symbol 'recvmsg' is sent over and over.
(817)/595-3568 or METRO (817)/589-9600