Menu

#65 won't compile on Solaris

closed-fixed
icewm-1.2 (683)
2
2002-05-03
2001-04-27
Anonymous
No

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

Discussion

  • Mathias Hasselmann

    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. :(

     
  • Mathias Hasselmann

    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.

     
  • Mathias Hasselmann

    • status: open --> open-works-for-me
     
  • Mathias Hasselmann

    A typescript showing me compiling icewm on a sun workstation.

     
  • Koray Can

    Koray Can - 2001-05-04

    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".

     
  • David A. Ross

    David A. Ross - 2001-09-19

    Logged In: YES
    user_id=33703

    I have a similar problem under HP-UX 11.0, gcc 2.95.2
    ----
    Compiling yapp.o...
    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 `/src/fw/icewm-1.0.8/src'
    make: *** [base] Error 2

    I'm going to try looking for #ifdef sequences now...

     
  • Marko Macek

    Marko Macek - 2002-04-01
    • assigned_to: massel --> captnmark
     
  • Marko Macek

    Marko Macek - 2002-04-01
    • labels: 319566 --> 319567
     
  • Marko Macek

    Marko Macek - 2002-04-01
    • priority: 5 --> 1
     
  • Marko Macek

    Marko Macek - 2002-04-16
    • priority: 1 --> 2
     
  • Marko Macek

    Marko Macek - 2002-04-29
    • labels: 319567 --> icewm-1.2
     
  • Marko Macek

    Marko Macek - 2002-04-29

    Logged In: YES
    user_id=1814

    hpux

    aCC (probably old version) doesn't like
    wmclient.h:

    typedef struct WMHints;...
    wmmgr.cc:
    char *wmInstance(0), *wmClass(0);
    wmframe.cc:
    themes.cc:
    same thing in several places...

     
  • Marko Macek

    Marko Macek - 2002-05-03
    • status: open-works-for-me --> closed-fixed
     
  • Marko Macek

    Marko Macek - 2002-05-03

    Logged In: YES
    user_id=1814

    a few things were fixed
    for any others, please try CVS icewm-1.2 and submit a new bug.

     

Log in to post a comment.