ar -r libgetopt.a getopt.o getopt1.o
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -
I/usr/include -arch ppc -c snprintf.c
ar -r libsnprintf.a snprintf.o
cc -L. -L/usr/lib -o check_disk check_disk.o utils.o
popen.o -lkvm -lgetopt -lsnprintf
/usr/bin/ld: table of contents for
archive: ./libgetopt.a is out of date; rerun ranlib(1)
(can't load from it)
/usr/bin/ld: table of contents for
archive: ./libsnprintf.a is out of date; rerun ranlib
(1) (can't load from it)
make[1]: *** [check_disk] Error 1
make: *** [all-recursive] Error 1
Logged In: YES
user_id=487432
What version are you trying to compile? I was having
quite a few problems with 1.2.9-4 but 1.2.8-4 compiled
and installed very easily. This is on Mac OS X 10.1.3 -
non server version.
Logged In: YES
user_id=487432
Btw - I've found that on OS X if you get errors about
ranlib out of date - just run -
ranlib *.a in the directory where the lib files are
(example ranlib /usr/local/lib/*.a)
Logged In: YES
user_id=489758
Hi,
The version is netsaint-plugins-1.2.9-4.
Ranlib doesn't help. I ran it libsnprintf.a and then I get
another error. I found out that I have to replace the -
lkvm -lgetopt -lsnprintf with the actual .o files to make
it compile.