[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: 3_3_BRANCH - kdelibs compile fails in kjs
From:       Michael Seiwert <mseiwert () hbv ! de>
Date:       2004-10-02 7:27:18
Message-ID: 200410020927.18448.mseiwert () hbv ! de
[Download RAW message or body]

Hi, 

same here but output looks a bit different. I'M compiling on SuSE 9.1 with 
--enable-final.

Best regards

Michael

Making all in kjs
make[2]: Entering directory `/home/mseiwert/src/cvs/kde33/kdelibs/kjs'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I.. -I../dcop -I../kio/kssl -I..  -I../dcop -I../libltdl -I../kdefx 
-I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. 
-I/usr/lib/qt3/include-I/usr/X11R6/include -I/opt/kde33/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long 
-Wundef-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG 
-DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT libkjs_la.all_cpp.lo -MD 
-MP -MF".deps/libkjs_la.all_cpp.Tpo" -c -o libkjs_la.all_cpp.lo 
libkjs_la.all_cpp.cpp; \
then mv -f ".deps/libkjs_la.all_cpp.Tpo" ".deps/libkjs_la.all_cpp.Plo"; else 
rm -f ".deps/libkjs_la.all_cpp.Tpo"; exit 1; fi
In file included from libkjs_la.all_cpp.cpp:6:
/usr/share/bison/bison.simple:49:6: warning: "YYSTACK_USE_ALLOCA" is not 
defined
/usr/share/bison/bison.simple:208:5: warning: "YYPURE" is not defined
/usr/share/bison/bison.simple:376:6: warning: "YYPURE" is not defined
/usr/share/bison/bison.simple:385:5: warning: "YYPURE" is not defined
In file included from date_object.cpp:32,
                 from libkjs_la.all_cpp.cpp:15:
/usr/include/time.h:191: error: use of `tm' is ambiguous
/usr/include/time.h:132: error:   first declared as `struct tm' here
date_object.h:125: error:   also declared as `struct KJS::tm' here
/usr/include/time.h:191: error: `tm' denotes an ambiguous type
/usr/include/time.h:132: error:   first type here
date_object.h:125: error:   other type here
/usr/include/time.h:199: error: use of `tm' is ambiguous
/usr/include/time.h:132: error:   first declared as `struct tm' here
date_object.h:125: error:   also declared as `struct KJS::tm' here
/usr/include/time.h:199: error: `tm' denotes an ambiguous type
/usr/include/time.h:132: error:   first type here
date_object.h:125: error:   other type here
/usr/include/time.h:206: error: use of `tm' is ambiguous
/usr/include/time.h:132: error:   first declared as `struct tm' here
date_object.h:125: error:   also declared as `struct KJS::tm' here
/usr/include/time.h:206: error: `tm' denotes an ambiguous type
/usr/include/time.h:132: error:   first type here




Am Samstag 02 Oktober 2004 07:02 schrieb Pavel Troller:
> Hi!
>   From yesterday, I cannot compile kdelibs anymore. The problem is in kjs,
> where the recent cause the following:
>
> if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> -I. -I. -I.. -I../dcop -I../kio/kssl -I..  -I../dcop -I../libltdl
> -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile
> -I.. -I/opt/qt3.2/include -I/opt/X11/include -I/opt/kde3.3/include
> -I/opt/sound/include -I/opt/samba/include -I/opt/kde3.3/include 
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long
> -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2
> -march=i586 -mcpu=i586 -fomit-frame-pointer -fforce-mem -fforce-addr
> -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
> -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT libkjs_la.all_cpp.lo -MD -MP -MF
> ".deps/libkjs_la.all_cpp.Tpo" \ -c -o libkjs_la.all_cpp.lo `test -f
> 'libkjs_la.all_cpp.cpp' || echo './'`libkjs_la.all_cpp.cpp; \ then mv
> ".deps/libkjs_la.all_cpp.Tpo" ".deps/libkjs_la.all_cpp.Plo"; \ else rm -f
> ".deps/libkjs_la.all_cpp.Tpo"; exit 1; \
> fi
> In file included from /usr/include/pthread.h:24,
>                  from
> /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/gthr-default.h:37, from
> /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/gthr.h:98, from
> /usr/include/c++/3.3.3/i586-pc-linux-gnu/bits/c++io.h:37, from
> /usr/include/c++/3.3.3/bits/fpos.h:44,
>                  from /usr/include/c++/3.3.3/iosfwd:49,
>                  from /usr/include/c++/3.3.3/bits/stl_algobase.h:70,
>                  from /usr/include/c++/3.3.3/list:67,
>                  from nodes.h:31,
>                  from internal.cpp:43,
>                  from libkjs_la.all_cpp.cpp:3:
> /usr/include/time.h:191: error: use of `tm' is ambiguous
> /usr/include/time.h:132: error:   first declared as `struct tm' here
> date_object.h:125: error:   also declared as `struct KJS::tm' here
> /usr/include/time.h:191: error: `tm' denotes an ambiguous type
> /usr/include/time.h:132: error:   first type here
> date_object.h:125: error:   other type here
> /usr/include/time.h:199: error: use of `tm' is ambiguous
> /usr/include/time.h:132: error:   first declared as `struct tm' here
> date_object.h:125: error:   also declared as `struct KJS::tm' here
> /usr/include/time.h:199: error: `tm' denotes an ambiguous type
> /usr/include/time.h:132: error:   first type here
> date_object.h:125: error:   other type here
>
>   Yes, it's with --enable-final, but I think that such a fundamental
> package in stable branch should be compilable with it (and because the
> collision is with a system structure, I'm unsure whether it's even caused
> by it).
>                                              With regards, Pavel Troller
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
Michael Seiwert  -  Heinrich Bauer Produktions KG  -  20077 Hamburg
Publishing Support Center - Server & Entwicklung -  Burchardstr. 11
Tel: +49-40-3019-5638 Fax: +49-40-3019-5668 mailto: mseiwert@hbv.de
icq: 27682743

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic