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]

Re: CRONOLOG: Problem compiling Cronolog on a SUN



Stefano,
Try doing a `make clean` first and then re-running the 
./configure
make 
It looks like your binaries in lib were already built.
Perhaps they were built for some other platform?
Running `make clean` will delete all those objects files
so you can build them again for your target platform.
ari
On Wed, Nov 13, 2002 at 08:49:02AM +0100, stefano ghisolfi wrote:
> Hi all,
> I tried to compile cronolog on a Sun, but i received the following output:
> 
> 
> [~/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
-- 
---------------------------------------------------------------------
         Ari Jort * arijort@xxxxxxxxxxxxx
        B96D F190 7661 764E F454  2F23 9D78 1C2D A11D 4B36

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