bug-gnustep
[Top][All Lists]
Advanced

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

Re: problem compiling core/back , and sol;n


From: Fred Kiefer
Subject: Re: problem compiling core/back , and sol;n
Date: Sun, 10 Feb 2013 18:42:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

On 09.02.2013 22:48, carl wrote:


The Problem

in core/back
make
......

Making all for tool gpbs...
....
  Compiling file xpbs.m ...
  Linking tool gpbs ...
/opt/GNUstep/Local/Library/Libraries/x86_64/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so:
 undefined reference to `png_set_longjmp_fn'
collect2: error: ld returned 1 exit status
make[4]: *** [obj/x86_64/linux-gnu/gnu-gnu-gnu/gpbs] Error 1
make[3]: *** [internal-tool-all_] Error 2
make[2]: *** [gpbs.all.tool.variables] Error 2
....


A Solution


adjust core/back/config.make.in thusly:

GRAPHIC_LIBS=@LIBS@  -lpng15
GRAPHIC_CFLAGS=@CPPFLAGS@  -I/usr/local/include/libpng15

Your solution may work for your specific case, but it isn't something that should be applied in the general case.

Did you try to compile back as a library? When it gets compiled as a bundle the gui dependencies should be added automatically.

This may again be a problem of the non-flattened structure you are using, but this time I am not sure.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]