$ tar xvfz zlib-1.1.3.tar.gz $ cd zlib-1.1.3 $ ./configure $ make test |
-rw-r--r-- 1 root root 54978 Jun 20 1997 /usr/lib/libz.a lrwxrwxrwx 1 root root 13 Jul 1 1999 /usr/lib/libz.so -> libz.so.1.0.2* lrwxrwxrwx 1 root root 13 Jul 1 1999 /usr/lib/libz.so.1 -> libz.so.1.0.2* -rwxr-xr-x 1 root root 48968 Jun 20 1997 /usr/lib/libz.so.1.0.2* |
LIBS=libz.a $(SHAREDLIB).$(VER) ~~~~~~~~~~~~~~~~~~~追加 |
$ make test gcc -o libz.so.1.1.3 adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x5a): undefined reference to `main' make: *** [libz.so.1.1.3] Error 1 |
$ su # make install |