Menu

#39 icewm 1.0.6 fails to compile

closed-fixed
icewm-1.0 (39)
7
2002-08-05
2001-03-11
Anonymous
No

gcc version: 2.95.3
libc6: 2.2.2
system: debian linux (testing) on i386.

Here is the error message:

gcc -DLIBDIR='"/usr/local/lib/X11/icewm"'
-DCFGDIR='"/usr/local/etc/X11/icewm"' -DLOCDIR='""'
-DKDEDIR='"/usr/local/share"' -DPACKAGE='"icewm"'
-DVERSION='"1.0.6"' -DEXEEXT='""'
-DICEWMEXE='"icewm"EXEEXT' -fpermissive -Wall
-Wpointer-arith -Wconversion -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Winline
-Woverloaded-virtual -W -fno-exceptions -fno-rtti -g
-O2 -I/usr/X11R6/include -DHAVE_CONFIG_H -c aclock.cc
aclock.cc: In method `void YClock::autoSize()':
aclock.cc:58: warning: implicit declaration of function
`int time(...)'
aclock.cc:59: variable `struct tm t' has initializer
but incomplete type
aclock.cc:59: warning: implicit declaration of function
`int localtime(...)'
aclock.cc:59: invalid type argument of `unary *'
aclock.cc:70: confused by earlier errors, bailing out
make: *** [aclock.o] Error 1

Solution:

Including <time.h> in ytimer.h does the trick. I don't
know if this is a portable solution or not.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I get this too... Debian unstable, newest versions of all libs, tried compiling 1.0.6-6 and 1.0.7-7 but to no avail..
    Thing is, I can't install the rpm-s, i get an error which seems to come from db3...

     
  • Mathias Hasselmann

    • priority: 5 --> 7
    • assigned_to: nobody --> massel
     
  • Mathias Hasselmann

    • status: open --> closed-fixed
     
  • Marko Macek

    Marko Macek - 2002-08-05
    • labels: --> icewm-1.0
     

Log in to post a comment.