View previous topic :: View next topic |
Author |
Message |
ct n00b
Joined: 22 Jul 2002 Posts: 29
|
Posted: Thu Dec 05, 2002 7:10 pm Post subject: flphoto make error |
|
|
Hello,
I am trying to install flphoto-0.8.0 from source on a Gentoo System (gcc 3.2) but get the following error message after make (configure worked fine).
Code: |
Compiling image.cxx...
image.cxx: In member function `int flphoto::save_jpeg(const char*, int)':
image.cxx:243: warning: `jvirt_barray_control**carrays' might be used
uninitialized in this function
image.cxx:248: warning: `jvirt_barray_control**darrays' might be used
uninitialized in this function
Compiling main.cxx...
Compiling md5.cxx...
Compiling pcd-file.c...
In file included from pcd-file.c:22:
flstring.h:29:28: FL/Fl_Export.H: No such file or directory
In file included from pcd-file.c:22:
flstring.h:89: syntax error before "extern"
flstring.h:94: syntax error before "extern"
make: *** [pcd-file.o] Error 1
|
I have fltk in version 1.1.1 installed. Unfortunately there is not any ebuild for flphoto.
How can I install flphoto?
Christian |
|
Back to top |
|
|
bjlockie Veteran
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Tue Jul 08, 2003 12:56 am Post subject: |
|
|
There is a masked ebuild for media-gfx/flphoto-1.0
Unfortunately it and source from the original distribution fails to compile on my system.
I have no idea what I am missing.
I have gcc-3.2.2 on a new-1.4 gentoo system.
Compiling Fl_CRW_Image.cxx...
Compiling Fl_EXIF_Data.cxx...
In file included from Fl_CRW_Image.cxx:33:
Fl_CRW_Image.H:34: ISO C++ forbids declaration of `ushort' with no type
Fl_CRW_Image.H:34: parse error before `[' token
Fl_CRW_Image.H:67: syntax error before `*' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::load_image(FILE*)':
Fl_CRW_Image.cxx:118: `image' undeclared (first use this function)
Fl_CRW_Image.cxx:118: (Each undeclared identifier is reported only once for
each function it appears in.)
Fl_CRW_Image.cxx:118: parse error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::dillon_interpolate()':
Fl_CRW_Image.cxx:1009: `ushort4' undeclared (first use this function)
Fl_CRW_Image.cxx:1009: `oimage' undeclared (first use this function)
Fl_CRW_Image.cxx:1012: parse error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::second_interpolate()':
Fl_CRW_Image.cxx:1092: `last' undeclared (first use this function)
Fl_CRW_Image.cxx:1093: `current' undeclared (first use this function)
Fl_CRW_Image.cxx:1098: parse error before `[' token
Fl_CRW_Image.cxx:1099: parse error before `[' token
Fl_CRW_Image.cxx:1129: parse error before `)' token
Fl_CRW_Image.cxx: At global scope:
Fl_CRW_Image.cxx:1142: prototype for `ushort Fl_CRW_Image::fget2(FILE*)' does
not match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:84: candidate is: int Fl_CRW_Image::fget2(FILE*)
Fl_CRW_Image.cxx:1142: `ushort Fl_CRW_Image::fget2(FILE*)' and `int
Fl_CRW_Image::fget2(FILE*)' cannot be overloaded
Compiling Fl_Image_Browser.cxx...
Fl_CRW_Image.cxx:1526: type specifier omitted for parameter `ushort4'
Fl_CRW_Image.cxx:1526: parse error before `)' token
Fl_CRW_Image.cxx:1527: prototype for `void Fl_CRW_Image::get_rgb(...)' does not
match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:90: candidate is: void Fl_CRW_Image::get_rgb(float*, int*)
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::get_rgb(...)':
Fl_CRW_Image.cxx:1530: `rgb' undeclared (first use this function)
make: *** [Fl_CRW_Image.o] Error 1
make: *** Waiting for unfinished jobs....
Fl_Image_Browser.cxx: In member function `void Fl_Image_Browser::load(const
char*)':
Fl_Image_Browser.cxx:643: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:663: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:668: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:715: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
make: *** [Fl_Image_Browser.o] Error 1
!!! ERROR: media-gfx/flphoto-1.0 failed.
!!! Function src_compile, Line 359, Exitcode 2
!!! emake failed
Compiling Fl_CRW_Image.cxx...
Compiling Fl_EXIF_Data.cxx...
In file included from Fl_CRW_Image.cxx:33:
Fl_CRW_Image.H:34: ISO C++ forbids declaration of `ushort' with no type
Fl_CRW_Image.H:34: parse error before `[' token
Fl_CRW_Image.H:67: syntax error before `*' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::load_image(FILE*)':
Fl_CRW_Image.cxx:118: `image' undeclared (first use this function)
Fl_CRW_Image.cxx:118: (Each undeclared identifier is reported only once for
each function it appears in.)
Fl_CRW_Image.cxx:118: parse error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::dillon_interpolate()':
Fl_CRW_Image.cxx:1009: `ushort4' undeclared (first use this function)
Fl_CRW_Image.cxx:1009: `oimage' undeclared (first use this function)
Fl_CRW_Image.cxx:1012: parse error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::second_interpolate()':
Fl_CRW_Image.cxx:1092: `last' undeclared (first use this function)
Fl_CRW_Image.cxx:1093: `current' undeclared (first use this function)
Fl_CRW_Image.cxx:1098: parse error before `[' token
Fl_CRW_Image.cxx:1099: parse error before `[' token
Fl_CRW_Image.cxx:1129: parse error before `)' token
Fl_CRW_Image.cxx: At global scope:
Fl_CRW_Image.cxx:1142: prototype for `ushort Fl_CRW_Image::fget2(FILE*)' does
not match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:84: candidate is: int Fl_CRW_Image::fget2(FILE*)
Fl_CRW_Image.cxx:1142: `ushort Fl_CRW_Image::fget2(FILE*)' and `int
Fl_CRW_Image::fget2(FILE*)' cannot be overloaded
Compiling Fl_Image_Browser.cxx...
Fl_CRW_Image.cxx:1526: type specifier omitted for parameter `ushort4'
Fl_CRW_Image.cxx:1526: parse error before `)' token
Fl_CRW_Image.cxx:1527: prototype for `void Fl_CRW_Image::get_rgb(...)' does not
match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:90: candidate is: void Fl_CRW_Image::get_rgb(float*, int*)
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::get_rgb(...)':
Fl_CRW_Image.cxx:1530: `rgb' undeclared (first use this function)
make: *** [Fl_CRW_Image.o] Error 1
make: *** Waiting for unfinished jobs....
Fl_Image_Browser.cxx: In member function `void Fl_Image_Browser::load(const
char*)':
Fl_Image_Browser.cxx:643: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:663: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:668: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
Fl_Image_Browser.cxx:715: invalid use of undefined type `struct Fl_Window'
/usr/include/fltk-1.1/FL/Fl_Widget.H:32: forward declaration of `struct
Fl_Window'
make: *** [Fl_Image_Browser.o] Error 1
!!! ERROR: media-gfx/flphoto-1.0 failed.
!!! Function src_compile, Line 359, Exitcode 2
!!! emake failed |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|