/usr/local/lib/libgw-gnc.a: invalid ELF header
Neil Williams
linux at codehelp.co.uk
Mon Nov 21 05:45:29 EST 2005
On Monday 21 November 2005 9:57 am, Alpár Jüttner wrote:
> Hi,
>
> I have the same problem as below. Could anybody help solvig it?
I don't think it can be solved in the gnucash 1.8 tree, it is solved in
gnucash2.
> Btw, gcc-4.0 emits warnings with gnucash 1.8.12, therefore
> --disable-error-on-warning option must be used.
disable-error-on-warning prevents some nasty problems. Essentially, gnucash
1.8.x uses a version of g-wrap that does not produce correct code with gcc4.
This is part of the G2 work. If gnucash won't compile without
disable-error-on-warning it isn't likely to work once compiled with it set.
(Which is why it's used.)
1. Why are you compiling the 1.8 tree? You should be on SVN and using the
Gnome2 port if you are compiling from source.
2. Use existing binary packages for 1.8 until gnucash2 is ready.
3. If no binary package exists for your platform, work with the SVN source to
create one based on G2 - there's no further development in the 1.8 tree.
> > I have successfully built and have been running the source from 1.8.11.
> > I just built 1.8.12 and I get the following when I try to launch:
> >
> > $ gnucash
> > ERROR: In procedure dynamic-link:
> > ERROR: file: "libgw-gnc", message: "/usr/local/lib/libgw-gnc.a: invalid
> > ELF header"
> >
> > Anybody know what I need to do here?
Either :
1. downgrade gcc to 3.3 or 3.4 (not necessarily trivial) or
2. move to SVN and use the gnucash2 source that works with gcc4.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-user/attachments/20051121/985d8444/attachment.bin
More information about the gnucash-user
mailing list