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: 1143     Entry time: Mon May 9 21:14:53 2005     In reply to: 1142
Icon: Question  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? 
> > > > I ask because I get a dependency that I did not have before with 2.5.3. 
> > > > Compiling with my same 'ole gcc 2.95.2 I see that I now need mxml.h and
> > > > strlcpy.h.  Trying to compile under gcc 3.4 results in all kinds of errors.
> > > 
> > > mxml.h and strlcpy.h are part of the elog tar ball. When untar'ed, they get copied
> > > into a separate directory:
> > > 
> > > ...
> > > -rwxr-xr-x ritt/lke      15090 2005-05-09 13:09:54 elog-2.5.9/eloglang.japanese
> > > -rwxr-xr-x ritt/lke      17587 2005-05-09 13:09:54 elog-2.5.9/eloglang.spanish
> > > drwxr-xr-x ritt/lke          0 2005-05-09 13:09:54 mxml/
> > > -rwxr-xr-x ritt/lke      45577 2005-05-09 13:09:54 mxml/mxml.c
> > > -rwxr-xr-x ritt/lke       2198 2005-05-09 13:09:54 mxml/strlcpy.c
> > > -rwxr-xr-x ritt/lke       4359 2005-05-09 13:09:54 mxml/mxml.h
> > > -rwxr-xr-x ritt/lke        567 2005-05-09 13:09:54 mxml/strlcpy.h
> > > 
> > > I have right now no access to 3.4. Once I get it, I will address the errors
> > > occuring there.
> > 
> > Ah, now I need to figure out how to pickup the new includes.  
> > BTW, personally I wouldn't take my word regarding the 3.4 errors -- I was simply
> > trying an alternative version and it is likely that the way ours is configured is the
> > problem.
> > 
> > Thanks!
> 
> 
> Ok, now I see the issue - the tar extract created the mxml directory in the root (not
> under the created directory elog-2.5.9).  Is there a reason why these includes are not
> placed in the src dir like the regex.h/.c include?


Ack, ok, I moved the includes into src and tried re-compiling -- and received several
"undefined symbol" errors from the linker.  Clearly the libraries cannot be moved into src?
ELOG V3.1.5-fe60aaf