Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 2003 14:06:16 +0200
From:      Herbert <herbert@bugat.at>
To:        Gabriel Striewe <email@gabriel-striewe.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: flphoto for FreeBSD?
Message-ID:  <20031006120616.GA1726@TK212017121218.teleweb.at>
In-Reply-To: <20031006100750.GA31792@desktop.gs>
References:  <20031006000618.GA24555@desktop.gs> <20031005225956.390c41a8.kitbsdlists@HotPOP.com> <20031006100750.GA31792@desktop.gs>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031006120616.GA1726>