flphoto for FreeBSD?

Herbert herbert at bugat.at
Mon Oct 6 05:06:22 PDT 2003


On Mon, Oct 06, 2003 at 12:07:50PM +0200, Gabriel Striewe wrote:
> This is the output after unpacking flphoto-source-1.1.tar.bz2,
> ./configure and then gmake in the unpacked directory:
> 
> 
> Compiling export.cxx...
> export.cxx: In function `int export_jpeg(const char*, Fl_Shared_Image*, int, 
>    int, int)':
> export.cxx:1049: aggregate `jpeg_compress_struct info' has incomplete type and 
>    cannot be defined
> export.cxx:1050: aggregate `jpeg_error_mgr err' has incomplete type and cannot 
>    be defined
> export.cxx:1065: `jpeg_std_error' undeclared (first use this function)
> export.cxx:1065: (Each undeclared identifier is reported only once for each 
>    function it appears in.)
> export.cxx:1066: `jpeg_create_compress' undeclared (first use this function)
> export.cxx:1067: `jpeg_stdio_dest' undeclared (first use this function)
> export.cxx:1072: `JCS_GRAYSCALE' undeclared (first use this function)
> export.cxx:1072: `JCS_RGB' undeclared (first use this function)
> export.cxx:1074: `jpeg_set_defaults' undeclared (first use this function)
> export.cxx:1075: `jpeg_set_quality' undeclared (first use this function)
> export.cxx:1076: `jpeg_simple_progression' undeclared (first use this function)
> export.cxx:1081: `jpeg_start_compress' undeclared (first use this function)
> export.cxx:1088: `jpeg_write_scanlines' undeclared (first use this function)
> export.cxx:1092: `jpeg_finish_compress' undeclared (first use this function)
> export.cxx:1093: `jpeg_destroy_compress' undeclared (first use this function)
> gmake: *** [export.o] Error 1
> 
> fltk, as a requirement of flphoto, has previously been installed using the ports collection, which was successfull
> 
> Thank you for any hints

First of all: please fix your MUA (mutt) to break lines after 72
characters!

Are your ports up-to-date? All those functions are defined in -ljpeg
(graphis/jpeg). Do you have graphics/png and graphics/jpeg installed?
Try to set LDFLAGS, CPPFLAGS and CXXFLAGS when running ./configure. Use
portupgrade to update your ports.

Herbert


More information about the freebsd-questions mailing list