Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5067 - xpp fails to compile
Summary: xpp fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 8654 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-15 23:33 UTC by Todd Punderson
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Punderson 2002-07-15 23:33:30 UTC
 
Comment 1 Todd Punderson 2002-07-15 23:34:56 UTC
Whoops, it'd help if I put something here. :)
I'm using GCC3 (1.3b tarball)

When trying to emerge xpp, I get this: (The first time around it did merge 
FLTK successfully)

todd-pc xpp # emerge xpp
Calculating dependencies ...done!
>>> emerge net-print/xpp-1.1 to /
>>> md5 ;-) xpp-1.1.tar.gz
>>> Unpacking source...
>>> Unpacking xpp-1.1.tar.gz
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gawk... gawk
checking for c++... c++
checking whether the C++ compiler (c++ -march=athlon-xp -m3dnow -msse 
-mfpmath=s  
se -mmmx -O3 -pipe ) works... yes
checking whether the C++ compiler (c++ -march=athlon-xp -m3dnow -msse 
-mfpmath=s  
se -mmmx -O3 -pipe ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for libfltk.a... /usr/lib/libfltk.a
checking for main in -lfltk... yes
checking for main in -lm... yes
checking for ANSI C header files... yes
checking for cups/cups.h... yes
checking for FL/Fl.H... yes
checking for working const... yes
checking for inline... inline
checking for socket in -lsocket... no
checking for gethostbyaddr in -lnsl... yes
checking for httpConnect in -lcups... yes
checking for cupsd... /usr/sbin/cupsd
checking for fluid... no
configure: error: The dialog editor/generator of FLTK

!!! ERROR: the ./configure command did not complete successfully.
!!! ("./configure --prefix=/usr --host=i686-pc-linux-gnu")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/net-print/xpp/xpp-1.1.ebuild .
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-16 18:02:37 UTC
ok, fltk has been updated, please see if this solves the problem
Comment 3 Todd Punderson 2002-07-16 20:55:12 UTC
Fixed that part, but now I'm getting this:

checking for fluid... /usr/bin/fluid
updating cache ./config.cache
creating ./config.status
creating Makefile
/usr/bin/fluid -c mainwindow.fl
c++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 
-DHAVE_                              
LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 
-DHA                              
VE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/X11R6/include  
-march=athlon-xp                              
 -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -c mainwindow.cxx
c++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 
-DHAVE_                              
LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 
-DHA                              
VE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/X11R6/include  
-march=athlon-xp                              
 -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -c passworddialog.cxx
c++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 
-DHAVE_                              
LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 
-DHA                              
VE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/X11R6/include  
-march=athlon-xp                              
 -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -c cupshelper.cxx
cupshelper.cxx:70: default argument given for parameter 2 of `static void 
CupsHe                              
lper::setHostInfo(const char*, int = 631)'
cupshelper.h:55: after previous specification in `static void 
CupsHelper::setHos                              
tInfo(const char*, int = 631)'
cupshelper.cxx:77: default argument given for parameter 1 of `static void 
CupsHe                              
lper::setLoginInfo(const char* = 0, const char* = 0)'
cupshelper.h:54: after previous specification in `static void 
CupsHelper::setLog                              
inInfo(const char* = 0, const char* = 0)'
cupshelper.cxx:77: default argument given for parameter 2 of `static void 
CupsHe                              
lper::setLoginInfo(const char* = 0, const char* = 0)'
cupshelper.h:54: after previous specification in `static void 
CupsHelper::setLog                              
inInfo(const char* = 0, const char* = 0)'
make: *** [cupshelper.o] Error 1

!!! ERROR: the make command did not complete successfully.
!!! ("make")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/net-print/xpp/xpp-1.1.ebuild .
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-16 20:57:33 UTC
hmm, GCC-3.  At this point, I must punt this bug to one of the gcc-3 folks. 
Have a nice trip.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2002-07-17 00:32:45 UTC
Should be required to pass a basic C++ programming class to be allowed to 
write programs..... Sorry about your probs with this Todd. Unfortuntely the 
guy who writes xpp (not a Gentoo guy) doesn't know how to write proper C++ and 
gcc-3.1 is very strict about writing proper code. I'll get a patch out 
definetly by this weekend but most likely tomorrow and I'll send it up to the 
guy who wrote xpp so this won't happen again with any new versions.
Comment 6 Jeff Kowing 2002-08-27 10:38:01 UTC
My system: gcc-2.95.3-r5, fltk-1.1.0_rc6

I had trouble building xpp because the configure script does not find the fltk
include files or libraries since they are slotted in version specific
directories, i.e, /usr/include/fltk-1.1 and /usr/lib/fltk-1.1.  Note I tried
unmerging that and using only fltk1.0.11-r3 but I had the same problems.  I
would think that you will run into the same problem with gcc-3.  

Maybe I'm doing something stupid?  

Anyways, by giving the path names to the configure script, everything seems to
work okay.  Here is the change I made to the ebuild which fixed my problems and
now xpp seems to emerge correctly:


--- xpp-1.1.ebuild      Tue Aug 27 10:20:20 2002
+++ xpp-1.1-r1.ebuild   Tue Aug 27 10:15:27 2002
@@ -15,7 +15,7 @@
 
 src_compile() {
 
-       econf || die
+       CPPFLAGS="-I/usr/include/fltk-1.1/" LIBS="-L/usr/lib/fltk-1.1" econf || die
        make || die
 
 }

Comment 7 Peter Ruskin 2002-09-04 13:28:37 UTC
It fails for me too, using 1.4beta and gcc-3.2. 
mainwindow.h:171: duplicate member `xppMainWindow::Fl_Menu_Item' 
mainwindow.cxx:5: `Fl_Input' was not declared in this scope 
mainwindow.cxx:5: `o' was not declared in this scope 
mainwindow.cxx:5: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_fileList_i(...)': 
mainwindow.cxx:7: `Fl_Input' undeclared (first use this function) 
mainwindow.cxx:7: parse error before `)' token 
mainwindow.cxx: At global scope: 
mainwindow.cxx:11: `o' was not declared in this scope 
mainwindow.cxx:11: parse error before `*' token 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_fileList(...)': 
mainwindow.cxx:12: `o' undeclared (first use this function) 
mainwindow.cxx:12: `v' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:15: `Fl_Button' was not declared in this scope 
mainwindow.cxx:15: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Browse_i(...)': 
mainwindow.cxx:18: `fl_file_chooser' undeclared (first use this function) 
mainwindow.cxx:21: `fileList' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:35: `Fl_Button' was not declared in this scope 
mainwindow.cxx:35: parse error before `*' token 
mainwindow.cxx:39: `Fl_Counter' was not declared in this scope 
mainwindow.cxx:39: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_numCopies_i(...)': 
mainwindow.cxx:40: `Fl_Counter' undeclared (first use this function) 
mainwindow.cxx:40: parse error before `)' token 
mainwindow.cxx: At global scope: 
mainwindow.cxx:42: parse error before `*' token 
mainwindow.cxx:46: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_priority_i(...)': 
mainwindow.cxx:47: parse error before `)' token 
mainwindow.cxx: At global scope: 
mainwindow.cxx:49: parse error before `*' token 
mainwindow.cxx:53: `Fl_Button' was not declared in this scope 
mainwindow.cxx:53: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Options_i(...)': 
mainwindow.cxx:54: `xppOptionDialog' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:56: `Fl_Button' was not declared in this scope 
mainwindow.cxx:56: parse error before `*' token 
mainwindow.cxx:60: `Fl_Button' was not declared in this scope 
mainwindow.cxx:60: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Instances_i(...)': 
mainwindow.cxx:61: `xppInstanceDialog' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:63: `Fl_Button' was not declared in this scope 
mainwindow.cxx:63: parse error before `*' token 
mainwindow.cxx:67: `Fl_Button' was not declared in this scope 
mainwindow.cxx:67: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Close_i(...)': 
mainwindow.cxx:68: `instanceDialog' undeclared (first use this function) 
mainwindow.cxx:69: `optionDialog' undeclared (first use this function) 
mainwindow.cxx:70: `mainWindow' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:72: `Fl_Button' was not declared in this scope 
mainwindow.cxx:72: parse error before `*' token 
mainwindow.cxx:76: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:76: parse error before `,' token 
mainwindow.cxx:83: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:83: parse error before `*' token 
mainwindow.cxx:87: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:87: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_papersource_i(...)': 
mainwindow.cxx:90: `papersize' undeclared (first use this function) 
mainwindow.cxx:91: `papersource' undeclared (first use this function) 
mainwindow.cxx:92: `papertype' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:104: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:104: parse error before `*' token 
mainwindow.cxx:108: syntax error before `::' token 
mainwindow.cxx:118: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:118: parse error before `*' token 
mainwindow.cxx:135: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:135: parse error before `*' token 
mainwindow.cxx:139: syntax error before `::' token 
mainwindow.cxx:149: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:149: parse error before `*' token 
mainwindow.cxx:166: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:166: parse error before `*' token 
mainwindow.cxx:170: syntax error before `::' token 
mainwindow.cxx:176: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:176: parse error before `*' token 
mainwindow.cxx:186: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:186: parse error before `*' token 
mainwindow.cxx:190: syntax error before `::' token 
mainwindow.cxx:198: parse error before `*' token 
mainwindow.cxx:204: parse error before `*' token 
mainwindow.cxx:208: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:208: parse error before `*' token 
mainwindow.cxx:214: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:214: parse error before `*' token 
mainwindow.cxx:218: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:218: parse error before `*' token 
mainwindow.cxx:224: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:224: parse error before `*' token 
mainwindow.cxx:228: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:228: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_pageset_i(...)': 
mainwindow.cxx:230: `menu_pageset' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:234: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:234: parse error before `*' token 
mainwindow.cxx:238: syntax error before `::' token 
mainwindow.cxx:245: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:245: parse error before `*' token 
mainwindow.cxx:250: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:250: parse error before `*' token 
mainwindow.cxx:254: syntax error before `::' token 
mainwindow.cxx:261: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:261: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_numberup_i(...)': 
mainwindow.cxx:263: `menu_numberup' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:267: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:267: parse error before `*' token 
mainwindow.cxx:271: syntax error before `::' token 
mainwindow.cxx:278: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:278: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_beforejob_i(...)': 
mainwindow.cxx:279: `beforejob' undeclared (first use this function) 
mainwindow.cxx:279: `afterjob' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:281: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:281: parse error before `*' token 
mainwindow.cxx:285: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:285: parse error before `,' token 
mainwindow.cxx:288: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:288: parse error before `*' token 
mainwindow.cxx:292: parse error before `*' token 
mainwindow.cxx:297: parse error before `*' token 
mainwindow.cxx:301: parse error before `*' token 
mainwindow.cxx:306: parse error before `*' token 
mainwindow.cxx:310: parse error before `*' token 
mainwindow.cxx:318: parse error before `*' token 
mainwindow.cxx:322: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:322: parse error before `*' token 
mainwindow.cxx:328: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:328: parse error before `*' token 
mainwindow.cxx:332: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:332: parse error before `*' token 
mainwindow.cxx:341: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:341: parse error before `*' token 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_topmargin_i(Input_Slider*, void*)': 
mainwindow.cxx:347: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx:350: `defaultmargins' undeclared (first use this function) 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_topmargin(Input_Slider*, void*)': 
mainwindow.cxx:353: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_bottommargin_i(Input_Slider*, void*)': 
mainwindow.cxx:358: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_bottommargin(Input_Slider*, void*)': 
mainwindow.cxx:364: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_leftmargin_i(Input_Slider*, void*)': 
mainwindow.cxx:369: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_leftmargin(Input_Slider*, void*)': 
mainwindow.cxx:375: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_rightmargin_i(Input_Slider*, void*)': 
mainwindow.cxx:380: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_rightmargin(Input_Slider*, void*)': 
mainwindow.cxx:386: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_Brightness_i(Input_Slider*, void*)': 
mainwindow.cxx:391: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_Brightness(Input_Slider*, void*)': 
mainwindow.cxx:399: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_Gamma_i(Input_Slider*, void*)': 
mainwindow.cxx:404: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_Gamma(Input_Slider*, void*)': 
mainwindow.cxx:412: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: At global scope: 
mainwindow.cxx:415: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:415: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_imagepos_i(...)': 
mainwindow.cxx:417: `menu_imagepos' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:421: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:421: parse error before `*' token 
mainwindow.cxx:425: syntax error before `::' token 
mainwindow.cxx:438: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:438: parse error before `*' token 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_imagesizetype_i(...)': 
mainwindow.cxx:443: `menu_imagesizetype' undeclared (first use this function) 
mainwindow.cxx:444: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx:445: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx:448: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: At global scope: 
mainwindow.cxx:451: `Fl_Choice' was not declared in this scope 
mainwindow.cxx:451: parse error before `*' token 
mainwindow.cxx:455: syntax error before `::' token 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_imagesize_i(Input_Slider*, void*)': 
mainwindow.cxx:465: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx:469: `imagesizetype' undeclared (first use this function) 
mainwindow.cxx:470: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx:474: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_imagesize(Input_Slider*, void*)': 
mainwindow.cxx:478: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void 
   xppMainWindow::cb_Saturation_i(Input_Slider*, void*)': 
mainwindow.cxx:483: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_Saturation(Input_Slider*, void*)': 
mainwindow.cxx:491: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In member function `void xppMainWindow::cb_Hue_i(Input_Slider*, 
   void*)': 
mainwindow.cxx:496: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_Hue(Input_Slider*, void*)': 
mainwindow.cxx:504: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: At global scope: 
mainwindow.cxx:507: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:507: parse error before `*' token 
mainwindow.cxx:513: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:513: parse error before `*' token 
mainwindow.cxx:517: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:517: parse error before `*' token 
mainwindow.cxx:523: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:523: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Pen_i(Input_Slider*, 
   void*)': 
mainwindow.cxx:529: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: In static member function `static void 
   xppMainWindow::cb_Pen(Input_Slider*, void*)': 
mainwindow.cxx:537: invalid use of undefined type `class Input_Slider' 
inputslider.h:36: forward declaration of `class Input_Slider' 
mainwindow.cxx: At global scope: 
mainwindow.cxx:540: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:540: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_OK_i(...)': 
mainwindow.cxx:543: `fl_alert' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:561: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:561: parse error before `*' token 
mainwindow.cxx:565: `Fl_Button' was not declared in this scope 
mainwindow.cxx:565: parse error before `,' token 
mainwindow.cxx:574: `Fl_Button' was not declared in this scope 
mainwindow.cxx:574: parse error before `*' token 
mainwindow.cxx:578: `Fl_Button' was not declared in this scope 
mainwindow.cxx:578: parse error before `,' token 
mainwindow.cxx:634: `Fl_Button' was not declared in this scope 
mainwindow.cxx:634: parse error before `*' token 
mainwindow.cxx:638: `Fl_Button' was not declared in this scope 
mainwindow.cxx:638: parse error before `,' token 
mainwindow.cxx:653: `Fl_Button' was not declared in this scope 
mainwindow.cxx:653: parse error before `*' token 
mainwindow.cxx:657: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:657: parse error before `*' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Raw_i(...)': 
mainwindow.cxx:662: `optionGroups' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:664: `Fl_Light_Button' was not declared in this scope 
mainwindow.cxx:664: parse error before `*' token 
mainwindow.cxx:668: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:668: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_copybutton_i(...)': 
mainwindow.cxx:669: `newname' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:671: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:671: parse error before `*' token 
mainwindow.cxx:675: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:675: parse error before `,' token 
mainwindow.cxx:678: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:678: parse error before `*' token 
mainwindow.cxx:682: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:682: parse error before `,' token 
mainwindow.cxx:685: `Fl_Round_Button' was not declared in this scope 
mainwindow.cxx:685: parse error before `*' token 
mainwindow.cxx:689: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:689: parse error before `,' token 
mainwindow.cxx: In member function `void xppMainWindow::cb_Apply_i(...)': 
mainwindow.cxx:691: `deletebutton' undeclared (first use this function) 
mainwindow.cxx:693: `instancelist' undeclared (first use this function) 
mainwindow.cxx:700: `fl_ask' undeclared (first use this function) 
mainwindow.cxx:703: `copybutton' undeclared (first use this function) 
mainwindow.cxx:703: `renamebutton' undeclared (first use this function) 
mainwindow.cxx: At global scope: 
mainwindow.cxx:734: `Fl_Return_Button' was not declared in this scope 
mainwindow.cxx:734: parse error before `*' token 
mainwindow.cxx:738: `Fl_Button' was not declared in this scope 
mainwindow.cxx:738: parse error before `,' token 
mainwindow.cxx:742: `Fl_Button' was not declared in this scope 
mainwindow.cxx:742: parse error before `*' token 
mainwindow.cxx: In constructor `xppMainWindow::xppMainWindow(int, char**, 
   int&)': 
mainwindow.cxx:747: `Fl_Window' undeclared (first use this function) 
mainwindow.cxx:751: parse error before `(' token 
mainwindow.cxx:754: `Fl_Group' undeclared (first use this function) 
mainwindow.cxx:754: parse error before `(' token 
mainwindow.cxx:755: `FL_UP_BOX' undeclared (first use this function) 
mainwindow.cxx:756: `Fl_Box' undeclared (first use this function) 
mainwindow.cxx:756: parse error before `(' token 
mainwindow.cxx:757: `FL_SHADOW_LABEL' undeclared (first use this function) 
mainwindow.cxx:762: parse error before `(' token 
mainwindow.cxx:767: parse error before `(' token 
mainwindow.cxx:769: parse error before `(' token 
mainwindow.cxx:770: `Fl_Callback' undeclared (first use this function) 
mainwindow.cxx:770: parse error before `)' token 
mainwindow.cxx:771: `FL_WHEN_CHANGED' undeclared (first use this function) 
mainwindow.cxx:774: `Fl_Button' undeclared (first use this function) 
mainwindow.cxx:774: parse error before `(' token 
mainwindow.cxx:775: `FL_DOWN_BOX' undeclared (first use this function) 
mainwindow.cxx:777: parse error before `)' token 
mainwindow.cxx:778: `FL_ALIGN_CENTER' undeclared (first use this function) 
mainwindow.cxx:778: `FL_ALIGN_INSIDE' undeclared (first use this function) 
mainwindow.cxx:780: `Fl_Scroll' undeclared (first use this function) 
mainwindow.cxx:780: `printerList' undeclared (first use this function) 
mainwindow.cxx:780: parse error before `(' token 
mainwindow.cxx:783: `FL_ALIGN_TOP_LEFT' undeclared (first use this function) 
mainwindow.cxx:787: parse error before `::' token 
mainwindow.cxx:789: `numCopies' undeclared (first use this function) 
mainwindow.cxx:789: parse error before `(' token 
mainwindow.cxx:794: parse error before `)' token 
mainwindow.cxx:795: `FL_ALIGN_LEFT' undeclared (first use this function) 
mainwindow.cxx:799: `priority' undeclared (first use this function) 
mainwindow.cxx:799: parse error before `(' token 
mainwindow.cxx:805: parse error before `)' token 
mainwindow.cxx:809: parse error before `(' token 
mainwindow.cxx:812: parse error before `)' token 
mainwindow.cxx:814: parse error before `(' token 
mainwindow.cxx:816: parse error before `)' token 
mainwindow.cxx:818: parse error before `(' token 
mainwindow.cxx:821: parse error before `)' token 
mainwindow.cxx:823: `Fl_Return_Button' undeclared (first use this function) 
mainwindow.cxx:823: parse error before `(' token 
mainwindow.cxx:826: parse error before `)' token 
mainwindow.cxx:829: parse error before `::' token 
mainwindow.cxx: At global scope: 
mainwindow.cxx:845: syntax error before `*' token 
mainwindow.cxx:849: syntax error before `->' token 
mainwindow.cxx:859: `print' was not declared in this scope 
mainwindow.cxx:859: `print' was not declared in this scope 
mainwindow.cxx:859: ISO C++ forbids declaration of `ppdMarkDefaults' with no 
   type 
mainwindow.cxx:859: `int ppdMarkDefaults' redeclared as different kind of 
   symbol 
/usr/include/cups/ppd.h:246: previous declaration of `void 
   ppdMarkDefaults(ppd_file_t*)' 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: `print' was not declared in this scope 
mainwindow.cxx:861: ISO C++ forbids declaration of `cupsMarkOptions' with no 
   type 
mainwindow.cxx:861: `int cupsMarkOptions' redeclared as different kind of 
   symbol 
/usr/include/cups/cups.h:159: previous declaration of `int 
   cupsMarkOptions(ppd_file_t*, int, cups_option_t*)' 
mainwindow.cxx:861: initializer list being treated as compound expression 
mainwindow.cxx:862: parse error before `}' token 
mainwindow.cxx:864: syntax error before `->' token 
mainwindow.cxx:865: syntax error before `->' token 
mainwindow.cxx:866: `print' was not declared in this scope 
mainwindow.cxx:866: `print' was not declared in this scope 
mainwindow.cxx:866: parse error before `;' token 
mainwindow.cxx:866: syntax error before `++' token 
mainwindow.cxx:874: ISO C++ forbids declaration of `w' with no type 
mainwindow.cxx:874: `int w' used prior to declaration 
mainwindow.cxx:875: syntax error before `->' token 
mainwindow.cxx:878: syntax error before `->' token 
mainwindow.cxx:880: syntax error before `->' token 
mainwindow.cxx:881: syntax error before `->' token 
mainwindow.cxx:882: syntax error before `->' token 
mainwindow.cxx:884: syntax error before `->' token 
mainwindow.cxx:885: syntax error before `->' token 
mainwindow.cxx:886: syntax error before `->' token 
mainwindow.cxx:887: syntax error before `->' token 
mainwindow.cxx:890: syntax error before `->' token 
mainwindow.cxx:891: syntax error before `->' token 
mainwindow.cxx:892: syntax error before `->' token 
mainwindow.cxx:893: syntax error before `->' token 
mainwindow.cxx:896: syntax error before `->' token 
mainwindow.cxx:897: syntax error before `->' token 
mainwindow.cxx:898: syntax error before `->' token 
mainwindow.cxx:899: syntax error before `->' token 
mainwindow.cxx:902: syntax error before `->' token 
mainwindow.cxx:903: syntax error before `->' token 
mainwindow.cxx:904: syntax error before `->' token 
mainwindow.cxx:909: syntax error before `->' token 
mainwindow.cxx:912: syntax error before `->' token 
mainwindow.cxx:913: syntax error before `->' token 
mainwindow.cxx:914: syntax error before `->' token 
mainwindow.cxx:916: syntax error before `->' token 
mainwindow.cxx:917: syntax error before `->' token 
mainwindow.cxx:918: syntax error before `->' token 
mainwindow.cxx:921: syntax error before `->' token 
mainwindow.cxx:922: syntax error before `->' token 
mainwindow.cxx:926: syntax error before `->' token 
mainwindow.cxx:927: syntax error before `->' token 
mainwindow.cxx:928: syntax error before `->' token 
mainwindow.cxx:932: syntax error before `->' token 
mainwindow.cxx:933: syntax error before `->' token 
mainwindow.cxx:934: syntax error before `->' token 
mainwindow.cxx:935: syntax error before `->' token 
mainwindow.cxx:938: syntax error before `->' token 
mainwindow.cxx:939: syntax error before `->' token 
mainwindow.cxx:940: syntax error before `->' token 
mainwindow.cxx:941: syntax error before `->' token 
mainwindow.cxx:944: syntax error before `->' token 
mainwindow.cxx:945: syntax error before `->' token 
mainwindow.cxx:946: syntax error before `->' token 
mainwindow.cxx:947: syntax error before `->' token 
mainwindow.cxx:949: syntax error before `->' token 
mainwindow.cxx:952: syntax error before `->' token 
mainwindow.cxx:953: syntax error before `->' token 
mainwindow.cxx:954: syntax error before `->' token 
mainwindow.cxx:956: syntax error before `->' token 
mainwindow.cxx:957: syntax error before `->' token 
mainwindow.cxx:960: syntax error before `->' token 
mainwindow.cxx:961: syntax error before `->' token 
mainwindow.cxx:962: syntax error before `->' token 
mainwindow.cxx:964: syntax error before `->' token 
mainwindow.cxx:966: syntax error before `->' token 
mainwindow.cxx:969: syntax error before `->' token 
mainwindow.cxx:971: syntax error before `->' token 
mainwindow.cxx:972: syntax error before `->' token 
mainwindow.cxx:973: syntax error before `->' token 
mainwindow.cxx:975: syntax error before `->' token 
mainwindow.cxx:976: syntax error before `->' token 
mainwindow.cxx:977: syntax error before `->' token 
mainwindow.cxx:978: syntax error before `->' token 
mainwindow.cxx:979: syntax error before `->' token 
mainwindow.cxx:980: syntax error before `->' token 
mainwindow.cxx:982: parse error before `if' 
mainwindow.cxx:983: syntax error before `->' token 
mainwindow.cxx:986: syntax error before `->' token 
mainwindow.cxx:987: syntax error before `->' token 
mainwindow.cxx:988: syntax error before `->' token 
mainwindow.cxx:989: syntax error before `->' token 
mainwindow.cxx:990: syntax error before `->' token 
mainwindow.cxx:991: syntax error before `->' token 
mainwindow.cxx:992: redefinition of `const char*val' 
mainwindow.cxx:981: `const char*val' previously declared here 
mainwindow.cxx:993: parse error before `if' 
mainwindow.cxx:994: syntax error before `->' token 
mainwindow.cxx:997: syntax error before `->' token 
mainwindow.cxx:998: syntax error before `->' token 
mainwindow.cxx:999: syntax error before `->' token 
mainwindow.cxx:1000: syntax error before `->' token 
mainwindow.cxx:1001: syntax error before `->' token 
mainwindow.cxx:1002: syntax error before `->' token 
mainwindow.cxx:1003: syntax error before `->' token 
mainwindow.cxx:1004: redefinition of `const char*val' 
mainwindow.cxx:992: `const char*val' previously declared here 
mainwindow.cxx:1005: parse error before `if' 
mainwindow.cxx:1008: syntax error before `->' token 
mainwindow.cxx:1009: syntax error before `->' token 
mainwindow.cxx:1013: syntax error before `->' token 
mainwindow.cxx:1014: syntax error before `->' token 
mainwindow.cxx:1016: syntax error before `->' token 
mainwindow.cxx:1019: syntax error before `->' token 
mainwindow.cxx:1020: syntax error before `->' token 
mainwindow.cxx:1021: syntax error before `->' token 
mainwindow.cxx:1022: syntax error before `->' token 
mainwindow.cxx:1023: syntax error before `->' token 
mainwindow.cxx:1024: syntax error before `->' token 
mainwindow.cxx:1025: redefinition of `int top' 
mainwindow.cxx:1015: `int top' previously declared here 
mainwindow.cxx:1025: redefinition of `int bottom' 
mainwindow.cxx:1015: `int bottom' previously declared here 
mainwindow.cxx:1025: redefinition of `int left' 
mainwindow.cxx:1015: `int left' previously declared here 
mainwindow.cxx:1025: redefinition of `int right' 
mainwindow.cxx:1015: `int right' previously declared here 
mainwindow.cxx:1025: redefinition of `int length' 
mainwindow.cxx:1015: `int length' previously declared here 
mainwindow.cxx:1025: redefinition of `int width' 
mainwindow.cxx:1015: `int width' previously declared here 
mainwindow.cxx:1025: syntax error before `->' token 
mainwindow.cxx:1026: syntax error before `->' token 
mainwindow.cxx:1026: syntax error before `->' token 
mainwindow.cxx:1029: syntax error before `->' token 
mainwindow.cxx:1030: syntax error before `->' token 
mainwindow.cxx:1031: syntax error before `->' token 
mainwindow.cxx:1032: syntax error before `->' token 
mainwindow.cxx:1033: syntax error before `->' token 
mainwindow.cxx:1034: syntax error before `->' token 
mainwindow.cxx:1035: syntax error before `->' token 
mainwindow.cxx:1036: redefinition of `int top' 
mainwindow.cxx:1025: `int top' previously declared here 
mainwindow.cxx:1036: redefinition of `int bottom' 
mainwindow.cxx:1025: `int bottom' previously declared here 
mainwindow.cxx:1036: redefinition of `int left' 
mainwindow.cxx:1025: `int left' previously declared here 
mainwindow.cxx:1036: redefinition of `int right' 
mainwindow.cxx:1025: `int right' previously declared here 
mainwindow.cxx:1036: redefinition of `int length' 
mainwindow.cxx:1025: `int length' previously declared here 
mainwindow.cxx:1036: redefinition of `int width' 
mainwindow.cxx:1025: `int width' previously declared here 
mainwindow.cxx:1036: syntax error before `->' token 
mainwindow.cxx:1037: syntax error before `->' token 
mainwindow.cxx:1037: syntax error before `->' token 
mainwindow.cxx:1040: syntax error before `->' token 
mainwindow.cxx:1041: syntax error before `->' token 
mainwindow.cxx:1042: syntax error before `->' token 
mainwindow.cxx:1043: syntax error before `->' token 
mainwindow.cxx:1044: syntax error before `->' token 
mainwindow.cxx:1045: syntax error before `->' token 
mainwindow.cxx:1046: redefinition of `int top' 
mainwindow.cxx:1036: `int top' previously declared here 
mainwindow.cxx:1046: redefinition of `int bottom' 
mainwindow.cxx:1036: `int bottom' previously declared here 
mainwindow.cxx:1046: redefinition of `int left' 
mainwindow.cxx:1036: `int left' previously declared here 
mainwindow.cxx:1046: redefinition of `int right' 
mainwindow.cxx:1036: `int right' previously declared here 
mainwindow.cxx:1046: redefinition of `int length' 
mainwindow.cxx:1036: `int length' previously declared here 
mainwindow.cxx:1046: redefinition of `int width' 
mainwindow.cxx:1036: `int width' previously declared here 
mainwindow.cxx:1046: syntax error before `->' token 
mainwindow.cxx:1047: syntax error before `->' token 
mainwindow.cxx:1047: syntax error before `->' token 
mainwindow.cxx:1050: syntax error before `->' token 
mainwindow.cxx:1051: syntax error before `->' token 
mainwindow.cxx:1052: syntax error before `->' token 
mainwindow.cxx:1053: syntax error before `->' token 
mainwindow.cxx:1054: syntax error before `->' token 
mainwindow.cxx:1055: syntax error before `->' token 
mainwindow.cxx:1056: syntax error before `->' token 
mainwindow.cxx:1057: redefinition of `int top' 
mainwindow.cxx:1046: `int top' previously declared here 
mainwindow.cxx:1057: redefinition of `int bottom' 
mainwindow.cxx:1046: `int bottom' previously declared here 
mainwindow.cxx:1057: redefinition of `int left' 
mainwindow.cxx:1046: `int left' previously declared here 
mainwindow.cxx:1057: redefinition of `int right' 
mainwindow.cxx:1046: `int right' previously declared here 
mainwindow.cxx:1057: redefinition of `int length' 
mainwindow.cxx:1046: `int length' previously declared here 
mainwindow.cxx:1057: redefinition of `int width' 
mainwindow.cxx:1046: `int width' previously declared here 
mainwindow.cxx:1057: syntax error before `->' token 
mainwindow.cxx:1058: syntax error before `->' token 
mainwindow.cxx:1058: syntax error before `->' token 
mainwindow.cxx:1062: syntax error before `->' token 
mainwindow.cxx:1063: syntax error before `->' token 
mainwindow.cxx:1066: syntax error before `->' token 
mainwindow.cxx:1067: syntax error before `->' token 
mainwindow.cxx:1069: syntax error before `->' token 
mainwindow.cxx:1071: syntax error before `->' token 
mainwindow.cxx:1075: syntax error before `->' token 
mainwindow.cxx:1076: syntax error before `->' token 
mainwindow.cxx:1077: syntax error before `->' token 
mainwindow.cxx:1079: syntax error before `->' token 
mainwindow.cxx:1080: syntax error before `->' token 
mainwindow.cxx:1081: syntax error before `->' token 
mainwindow.cxx:1082: syntax error before `->' token 
mainwindow.cxx:1083: syntax error before `->' token 
mainwindow.cxx:1084: syntax error before `->' token 
mainwindow.cxx:1085: syntax error before `->' token 
mainwindow.cxx:1086: redefinition of `const char*val' 
mainwindow.cxx:1004: `const char*val' previously declared here 
mainwindow.cxx:1087: parse error before `if' 
mainwindow.cxx:1090: syntax error before `->' token 
mainwindow.cxx:1091: syntax error before `->' token 
mainwindow.cxx:1092: syntax error before `->' token 
mainwindow.cxx:1093: syntax error before `->' token 
mainwindow.cxx:1094: syntax error before `->' token 
mainwindow.cxx:1095: syntax error before `->' token 
mainwindow.cxx:1096: syntax error before `->' token 
mainwindow.cxx:1097: redefinition of `const char*val' 
mainwindow.cxx:1086: `const char*val' previously declared here 
mainwindow.cxx:1098: parse error before `if' 
mainwindow.cxx:1100: syntax error before `->' token 
mainwindow.cxx:1103: syntax error before `->' token 
mainwindow.cxx:1104: syntax error before `->' token 
mainwindow.cxx:1105: syntax error before `->' token 
mainwindow.cxx:1107: syntax error before `->' token 
mainwindow.cxx:1108: syntax error before `->' token 
mainwindow.cxx:1109: syntax error before `->' token 
mainwindow.cxx:1110: syntax error before `->' token 
mainwindow.cxx:1113: syntax error before `->' token 
mainwindow.cxx:1114: syntax error before `->' token 
mainwindow.cxx:1115: syntax error before `->' token 
mainwindow.cxx:1121: syntax error before `->' token 
mainwindow.cxx:1122: syntax error before `->' token 
mainwindow.cxx:1123: syntax error before `->' token 
mainwindow.cxx:1124: syntax error before `->' token 
mainwindow.cxx:1125: syntax error before `->' token 
mainwindow.cxx:1126: syntax error before `->' token 
mainwindow.cxx:1127: syntax error before `->' token 
mainwindow.cxx:1128: syntax error before `->' token 
mainwindow.cxx:1129: redefinition of `const char*val' 
mainwindow.cxx:1097: `const char*val' previously declared here 
mainwindow.cxx:1129: parse error before `if' 
mainwindow.cxx:1133: syntax error before `->' token 
mainwindow.cxx:1134: syntax error before `->' token 
mainwindow.cxx:1135: syntax error before `->' token 
mainwindow.cxx:1136: syntax error before `->' token 
mainwindow.cxx:1137: syntax error before `->' token 
mainwindow.cxx:1138: syntax error before `->' token 
mainwindow.cxx:1139: syntax error before `->' token 
mainwindow.cxx:1140: redefinition of `const char*val' 
mainwindow.cxx:1129: `const char*val' previously declared here 
mainwindow.cxx:1141: parse error before `if' 
mainwindow.cxx:1144: syntax error before `->' token 
mainwindow.cxx:1145: syntax error before `->' token 
mainwindow.cxx:1146: syntax error before `->' token 
mainwindow.cxx:1147: syntax error before `->' token 
mainwindow.cxx:1148: syntax error before `->' token 
mainwindow.cxx:1149: syntax error before `->' token 
mainwindow.cxx:1150: syntax error before `->' token 
mainwindow.cxx:1151: redefinition of `const char*val' 
mainwindow.cxx:1140: `const char*val' previously declared here 
mainwindow.cxx:1152: parse error before `if' 
mainwindow.cxx:1154: syntax error before `->' token 
mainwindow.cxx:1157: syntax error before `->' token 
mainwindow.cxx:1158: syntax error before `->' token 
mainwindow.cxx:1159: syntax error before `->' token 
mainwindow.cxx:1161: syntax error before `->' token 
mainwindow.cxx:1162: syntax error before `->' token 
mainwindow.cxx:1166: syntax error before `->' token 
mainwindow.cxx:1167: syntax error before `->' token 
mainwindow.cxx:1171: syntax error before `->' token 
mainwindow.cxx:1172: syntax error before `->' token 
mainwindow.cxx:1173: syntax error before `->' token 
mainwindow.cxx:1174: syntax error before `->' token 
mainwindow.cxx:1175: syntax error before `->' token 
mainwindow.cxx:1176: syntax error before `->' token 
mainwindow.cxx:1177: syntax error before `->' token 
mainwindow.cxx:1178: redefinition of `const char*val' 
mainwindow.cxx:1151: `const char*val' previously declared here 
mainwindow.cxx:1179: parse error before `if' 
mainwindow.cxx:1181: syntax error before `->' token 
mainwindow.cxx:1183: syntax error before `->' token 
mainwindow.cxx:1185: syntax error before `->' token 
mainwindow.cxx:1188: syntax error before `->' token 
mainwindow.cxx:1189: syntax error before `->' token 
mainwindow.cxx:1192: syntax error before `->' token 
mainwindow.cxx:1193: syntax error before `->' token 
mainwindow.cxx:1196: syntax error before `->' token 
mainwindow.cxx:1197: syntax error before `->' token 
mainwindow.cxx:1200: syntax error before `->' token 
mainwindow.cxx:1203: syntax error before `->' token 
mainwindow.cxx:1207: conflicting types for `char str[256]' 
mainwindow.cxx:848: previous declaration as `const char*str' 
mainwindow.cxx:1208: `print' was not declared in this scope 
mainwindow.cxx:1208: `print' was not declared in this scope 
mainwindow.cxx:1208: ISO C++ forbids declaration of `sprintf' with no type 
mainwindow.cxx:1208: `int sprintf' redeclared as different kind of symbol 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include/stdio.h:288: previous 
   declaration of `int sprintf(char*, const char*, ...)' 
mainwindow.cxx:1208: initializer list being treated as compound expression 
mainwindow.cxx:1209: syntax error before `->' token 
mainwindow.cxx:1210: syntax error before `->' token 
mainwindow.cxx:1211: syntax error before `->' token 
mainwindow.cxx:1213: syntax error before `->' token 
mainwindow.cxx:1214: syntax error before `->' token 
mainwindow.cxx:1215: syntax error before `->' token 
mainwindow.cxx:1216: syntax error before `->' token 
mainwindow.cxx:1217: syntax error before `->' token 
mainwindow.cxx:1218: syntax error before `->' token 
mainwindow.cxx:1219: syntax error before `->' token 
mainwindow.cxx:1220: syntax error before `->' token 
mainwindow.cxx:1221: syntax error before `->' token 
mainwindow.cxx:1222: syntax error before `->' token 
mainwindow.cxx:1223: syntax error before `->' token 
mainwindow.cxx:1224: syntax error before `->' token 
mainwindow.cxx:1228: syntax error before `*' token 
mainwindow.cxx:1231: ISO C++ forbids declaration of `w' with no type 
mainwindow.cxx:1231: redefinition of `int w' 
mainwindow.cxx:874: `int w' previously defined here 
mainwindow.cxx:1232: syntax error before `->' token 
mainwindow.cxx:1234: syntax error before `->' token 
mainwindow.cxx:1235: syntax error before `->' token 
mainwindow.cxx:1238: syntax error before `->' token 
mainwindow.cxx:1241: syntax error before `->' token 
mainwindow.cxx:1242: syntax error before `->' token 
mainwindow.cxx:1243: syntax error before `->' token 
mainwindow.cxx:1244: syntax error before `->' token 
mainwindow.cxx:1245: syntax error before `->' token 
mainwindow.cxx:1246: syntax error before `->' token 
mainwindow.cxx:1249: syntax error before `->' token 
mainwindow.cxx:1250: syntax error before `->' token 
mainwindow.cxx:1253: syntax error before `->' token 
mainwindow.cxx:1254: syntax error before `->' token 
mainwindow.cxx:1255: syntax error before `->' token 
mainwindow.cxx:1256: syntax error before `->' token 
mainwindow.cxx:1257: syntax error before `->' token 
mainwindow.cxx:1260: syntax error before `->' token 
mainwindow.cxx:1261: syntax error before `->' token 
mainwindow.cxx:1262: syntax error before `->' token 
mainwindow.cxx:1263: syntax error before `->' token 
mainwindow.cxx:1266: syntax error before `->' token 
mainwindow.cxx:1269: syntax error before `->' token 
mainwindow.cxx:1270: syntax error before `->' token 
mainwindow.cxx:1273: syntax error before `->' token 
mainwindow.cxx:1276: syntax error before `->' token 
mainwindow.cxx:1279: syntax error before `->' token 
mainwindow.cxx:1280: syntax error before `->' token 
mainwindow.cxx:1283: syntax error before `->' token 
mainwindow.cxx:1284: syntax error before `->' token 
mainwindow.cxx:1285: syntax error before `->' token 
mainwindow.cxx:1286: syntax error before `->' token 
mainwindow.cxx:1289: syntax error before `->' token 
mainwindow.cxx:1290: syntax error before `->' token 
mainwindow.cxx:1293: syntax error before `->' token 
mainwindow.cxx:1294: syntax error before `->' token 
mainwindow.cxx:1296: syntax error before `->' token 
mainwindow.cxx:1297: syntax error before `->' token 
mainwindow.cxx:1299: syntax error before `->' token 
{standard input}: Assembler messages: 
{standard input}:50: Error: symbol `val' is already defined 
{standard input}:57: Error: symbol `val' is already defined 
{standard input}:106: Error: symbol `top' is already defined 
{standard input}:113: Error: symbol `bottom' is already defined 
{standard input}:120: Error: symbol `left' is already defined 
{standard input}:127: Error: symbol `right' is already defined 
{standard input}:134: Error: symbol `length' is already defined 
{standard input}:141: Error: symbol `width' is already defined 
{standard input}:148: Error: symbol `top' is already defined 
{standard input}:155: Error: symbol `bottom' is already defined 
{standard input}:162: Error: symbol `left' is already defined 
{standard input}:169: Error: symbol `right' is already defined 
{standard input}:176: Error: symbol `length' is already defined 
{standard input}:183: Error: symbol `width' is already defined 
{standard input}:190: Error: symbol `top' is already defined 
{standard input}:197: Error: symbol `bottom' is already defined 
{standard input}:204: Error: symbol `left' is already defined 
{standard input}:211: Error: symbol `right' is already defined 
{standard input}:218: Error: symbol `length' is already defined 
{standard input}:225: Error: symbol `width' is already defined 
{standard input}:232: Error: symbol `top' is already defined 
{standard input}:239: Error: symbol `bottom' is already defined 
{standard input}:246: Error: symbol `left' is already defined 
{standard input}:253: Error: symbol `right' is already defined 
{standard input}:260: Error: symbol `length' is already defined 
{standard input}:267: Error: symbol `width' is already defined 
{standard input}:274: Error: symbol `val' is already defined 
{standard input}:281: Error: symbol `val' is already defined 
{standard input}:288: Error: symbol `val' is already defined 
{standard input}:295: Error: symbol `val' is already defined 
{standard input}:302: Error: symbol `val' is already defined 
{standard input}:309: Error: symbol `val' is already defined 
{standard input}:323: Error: symbol `w' is already defined 
make: *** [mainwindow.o] Error 1 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line -160, Exitcode 2 
!!! (no error message) 
 
 
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2002-09-12 16:41:07 UTC
I just wanna let you all know I'm still working on this. This problem is
actually a lot more complex on a gcc-3.x compiler then you might think. It
involves the fact that several ebuilds are broken which this depends on. And
apparently xpp is not compatible with the new fltk-1.1.x releases (which work
fine). So we need to use the fltk-1.0.x releases which are broken due to another
library they depend on being broken. 

basically... It's a mess and I've spent several hours on it already. I've
managed to make it compile under gcc-2.95.x but not gcc-3.x. I'm waiting until
it's good on all to release a test fix.
Comment 9 Keith Edmunds 2002-09-19 17:16:55 UTC
FWIW I'm using gcc 2.95.3 and it fails for me too (I can post the messages if
you want).

Keith
Comment 10 Nick Hadaway 2002-10-04 09:18:47 UTC
I have patched xpp for all known compile issues (fltk and cups related)

emerge rsync
emerge xpp

Please test the updated ebuild and let me know how things go.
Comment 11 Nick Hadaway 2002-10-04 09:19:49 UTC
*** Bug 8654 has been marked as a duplicate of this bug. ***
Comment 12 Brad Cowan (RETIRED) gentoo-dev 2002-10-04 13:07:25 UTC
THX man didn't know this was a known bug, had it masked and was going to write
upstream about it. :)
Comment 13 Nick Hadaway 2002-10-07 09:59:28 UTC
xpp has been unmasked and has been verified to compile on both gcc3 and gcc2 
systems.