[ icewm-Bugs-419532 ] won't compile on Solaris
Brought to you by:
captnmark
From: <no...@so...> - 2001-05-04 20:41:49
|
Bugs item #419532, was updated on 2001-04-27 09:44 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100031&aid=419532&group_id=31 Category: icewm-1.0 Group: None Status: Open Resolution: Works For Me Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Mathias Hasselmann (massel) Summary: won't compile on Solaris Initial Comment: Compiling either icewm-1.0.8-4 or 1.0.8-5 on Solaris 2.6 with gcc, the following is encountered: In file included from yfull.h:9, from yapp.cc:7: /usr/openwin/include/X11/Xresource.h:249: warning: ANSI C++ forbids declaration `XrmQGetResource' with no type yapp.cc: In method `YApplication::YApplication(int *, char ***, const char * = 0)': yapp.cc:553: warning: implicit declaration of function `int initSignals(...)' yapp.cc:554: warning: implicit declaration of function `int initAtoms(...)' yapp.cc: In method `void YApplication::setClipboardText(char *, int)': yapp.cc:1328: invalid use of undefined type `class YClipboard' yapp.h:12: forward declaration of `class YClipboard' yapp.cc:1331: invalid use of undefined type `class YClipboard' yapp.h:12: forward declaration of `class YClipboard' make[1]: *** [yapp.o] Error 1 make[1]: Leaving directory `/home/poshea/bin/gnome/install/icewm-1.0.8/src' make: *** [base] Error 2 ---------------------------------------------------------------------- Comment By: Koray Can (korollary) Date: 2001-05-04 13:41 Message: Logged In: YES user_id=92197 in yapp.cc, Yclipboard class and those two functions are within #ifdef SM..#endif. I moved them out, and it compiled. On my Solaris 2.5.1, SM doesn't exist under X11. Plus, my system didn't have snprintf, I had to get it somewhere. configure should have checked it. Plus, I had a hell of a time with the "make install". ---------------------------------------------------------------------- Comment By: Mathias Hasselmann (massel) Date: 2001-04-27 15:57 Message: Logged In: YES user_id=7017 We cannot reproduce the bug you describe in your bug report. If it still bugs you please submit it again, with more detailed info. ---------------------------------------------------------------------- Comment By: Mathias Hasselmann (massel) Date: 2001-04-27 15:57 Message: Logged In: YES user_id=7017 Can't reproduce it. For me IceWM compiles on Solaris (checkout the attached typescript). Well, this "CXX=g++" is required 'cause the local installation appears to be broken and ld failes otherwise. :( ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100031&aid=419532&group_id=31 |