cronolog.org
flexible web log rotation
HOME
DOWNLOAD
FEATURES
USAGE
FAQ
BLOG
KNOWN BUGS
SECURITY
PATCHES
USERS
TO DO
HISTORY
LINKS
FEEDBACK
MAILING LIST
ADVERTISING

support cronolog development



Google   HELP


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling Cronolog on a SUN



Hi all,
I tried to compile cronolog on a Sun, but i received the following output:
 
./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) $/usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... $/usr/bin/install -c
checking whether ln -s works... (cached) no
checking for ranlib... (cached) ranlib
checking for perl... (cached) /usr/bin/perl
checking how to run the C preprocessor... (cached) $gcc -E
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for strftime... (cached) yes
checking for vprintf... (cached) yes
checking for mkdir... (cached) yes
checking for mktime... (cached) yes
checking for putenv... (cached) yes
checking for strptime... (cached) yes
checking for localtime_r... (cached) yes
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating src/cronosplit


[~/cronolog-1.6.2]$ make
Making all in lib
make[1]: Entering directory `/users/root/cronolog-1.6.2/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/users/root/cronolog-1.6.2/lib'
Making all in src
make[1]: Entering directory `/users/root/cronolog-1.6.2/src'
gcc  -g -O2  -o cronotest  cronotest.o cronoutils.o ../lib/libutil.a
/usr/local/bin/ld: cronotest.o: Relocations in generic ELF (EM: 3)
cronotest.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [cronotest] Error 1
make[1]: Leaving directory `/users/root/cronolog-1.6.2/src'
make: *** [all-recursive] Error 1

So..i cannot compile it. I saw that some element are missing but the error is in the 'make'.
Thanks a lot
Stefano
 
 

Copyright © 1996-2010 Andrew Ford and Ford & Mason Ltd