Re: Build failure Oracle Linux 9.3
Enno Rehling <[email protected]> Thu, 29 Feb 2024 15:29:01 +0100
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
That looks like a case of the wrong libpng version.
On 29-Feb-24 15:17, Phil Otken wrote:
> Trying to build fox-1.6.8. Build consistently fails with errors:
>
> fxpngio.cpp: In function 'void FX::user_error_fn(png_structp,
> png_const_charp)':
> fxpngio.cpp:78:18: error: invalid use of incomplete type 'png_struct'
> {aka 'struct png_struct_def'}
> 78 | longjmp(png_ptr->jmpbuf,1); // Bail out
> | ^~
> In file included from fxpngio.cpp:29:
> /usr/include/png.h:439:16: note: forward declaration of 'png_struct'
> {aka 'struct png_struct_def'}
> 439 | typedef struct png_struct_def png_struct;
> | ^~~~~~
> In file included from /usr/include/pngconf.h:51,
> from /usr/include/png.h:335,
> from fxpngio.cpp:29:
> fxpngio.cpp: In function 'bool FX::fxloadPNG(FX::FXStream&,
> FX::FXColor*&, FX::FXint&, FX::FXint&)':
> fxpngio.cpp:121:20: error: invalid use of incomplete type 'png_struct'
> {aka 'struct png_struct_def'}
> 121 | if(setjmp(png_ptr->jmpbuf)){
> | ^~
> In file included from fxpngio.cpp:29:
> /usr/include/png.h:439:16: note: forward declaration of 'png_struct'
> {aka 'struct png_struct_def'}
> 439 | typedef struct png_struct_def png_struct;
> | ^~~~~~
> In file included from /usr/include/pngconf.h:51,
> from /usr/include/png.h:335,
> from fxpngio.cpp:29:
> fxpngio.cpp: In function 'bool FX::fxsavePNG(FX::FXStream&, const
> FXColor*, FX::FXint, FX::FXint)':
> fxpngio.cpp:234:20: error: invalid use of incomplete type 'png_struct'
> {aka 'struct png_struct_def'}
> 234 | if(setjmp(png_ptr->jmpbuf)){
> | ^~
> In file included from fxpngio.cpp:29:
> /usr/include/png.h:439:16: note: forward declaration of 'png_struct'
> {aka 'struct png_struct_def'}
> 439 | typedef struct png_struct_def png_struct;
> | ^~~~~~
> make[1]: * [Makefile:745: fxpngio.lo] Error 1
> make[1]: Leaving directory '/arch/fox/fox-1.6.8/src'
> make: * [Makefile:203: all-recursive] Error 1
>
> AFAIK, I installed all dependencies, or successors.It is entirely
> possible I missed something. Please advise.
>
> --
> Thanks,
> - Phil
>
> Phil Otken
> Overlogix, Inc. <https://overlogix.com/>
> also d.b.a.
> Practical Software and Database Engineering, Inc.
> c: +41 79 376 08 96
> e-mail: [email protected] <mailto:[email protected]>
> Online Professional Profile: http://www.linkedin.com/in/potken/
> <http://www.linkedin.com/in/potken/>
>
>
> _______________________________________________
> Foxgui-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/foxgui-users
_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users