Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Version of GCC to use?, posted by Steve Jones on Mon May 9 20:23:59 2005 
    icon2.gif   Re: Version of GCC to use?, posted by Stefan Ritt on Mon May 9 20:47:02 2005 
       icon2.gif   Re: Version of GCC to use?, posted by Steve Jones on Mon May 9 20:51:23 2005 
          icon2.gif   Re: Version of GCC to use?, posted by Stefan Ritt on Mon May 9 20:55:36 2005 
             icon14.gif   Re: Version of GCC to use?, posted by Steve Jones on Mon May 9 20:58:11 2005 
                icon14.gif   Re: Version of GCC to use?, posted by Steve Jones on Mon May 9 21:08:56 2005 
                   icon5.gif   Re: Version of GCC to use?, posted by Steve Jones on Mon May 9 21:14:53 2005 
                   icon14.gif   Re: Version of GCC to use?, posted by Stefan Ritt on Mon May 9 21:17:29 2005 
                      icon2.gif   Re: Version of GCC to use?, posted by Stefan Ritt on Mon May 9 21:22:46 2005 
                         icon14.gif   Re: Version of GCC to use?, posted by Steve Jones on Mon May 9 23:30:11 2005 
Message ID: 1146     Entry time: Mon May 9 23:30:11 2005     In reply to: 1145
Icon: Agree  Author: Steve Jones  Author Email: steve.jones@freescale.com 
Category: Question  OS: Linux | Other  ELOG Version: 2.5.9 
Subject: Re: Version of GCC to use? 
> [ritt@pc5082 /tmp]$ tar -xzvf elog-2.5.9-2.tar.gz
> elog-2.5.9/
> elog-2.5.9/doc/
> elog-2.5.9/doc/adminguide.html
> ...
> mxml/
> mxml/mxml.c
> mxml/strlcpy.c
> mxml/mxml.h
> mxml/strlcpy.h
> [ritt@pc5082 /tmp]$ cd elog-2.5.9
> [ritt@pc5082 elog-2.5.9]$ make
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elog src/elog.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o regex.o src/regex.c
> ... skipping warnings ...
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o mxml.o ../mxml/mxml.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -c -o strlcpy.o ../mxml/strlcpy.c
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -I../mxml -o elogd src/elogd.c regex.o
> mxml.o strlcpy.o
> gcc -O3 -funroll-loops -fomit-frame-pointer -W -Wall -o elconv src/elconv.c
> [ritt@pc5082 elog-2.5.9]$
> 
> --------------
> No undefined functions here. I guess you have an old Makefile? Just use the complete tar
> package from the last version.

Ok, now I have it.  Old Makefile because I had to perform some deletions to make "make" work
right under Solaris.  Basically, I took out the ifdef structures - "make" was blowing up on
these.  Everything now compiles perfectly -- don't change anything.  Thanks for that last pointer.

Steve
ELOG V3.1.5-3fb85fa6