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

List:       kde-solaris
Subject:    [kde-solaris] (no subject)
From:       cmcclan () btinternet ! com
Date:       2001-12-21 16:16:21
[Download RAW message or body]

I'm trying to get KDE 3.0 (Beta) running on Solaris 8 (Ultra 5). I'm having problems \
compiling kdelibs and it dies with the following:

g   -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99 -DQT_NO_TRANSLATION \
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -o libDCOP.la.closure \
.libs/libDCOP_la_closure.o .libs/dcopstub.o .libs/dcopclient.o .libs/dcopobject.o \
.libs/dcopref.o  -L/usr/local/qt/lib -lpthread -L/usr/local/kde/lib \
KDE-ICE/.libs/libkICE.a -lqt-mt -lpng -lz -lm /usr/local/lib/libjpeg.so -lXext -lX11 \
-lsocket -lnsl -lSM -lICE -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/local/lib \
Undefined                       first referenced  symbol                             \
in file X_GETTIMEOFDAY                      KDE-ICE/.libs/libkICE.a(iceauth.o)
ld: fatal: Symbol referencing errors. No output written to libDCOP.la.closure
collect2: ld returned 1 exit status
make[3]: *** [libDCOP.la.closure] Error 1
make[3]: Leaving directory `/PKGS/kde/kdelibs-3.0beta1/dcop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/PKGS/kde/kdelibs-3.0beta1/dcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/PKGS/kde/kdelibs-3.0beta1'
make: *** [all-recursive-am] Error 2

If you look at iceauth.c X_GETTIMEOFDAY you can see that it is undefined:

#ifdef ITIMER_REAL
    {
        struct timeval  now;
        X_GETTIMEOFDAY (&now);
        ldata[0] = now.tv_sec;
        ldata[1] = now.tv_usec;
    }

Not knowing any better, I bravely took a guess at defining X_GETTIMEOFDAY as of type \
"struct timeval" :-)

However, this then results in make dying with:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl -I../../kdecore \
-I../../kdeui -I../../kssl -I/usr/local/qt/include -I/usr/local/kde/include \
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 \
-I/usr/local/include -DICE_t -DTRANS_SERVER -DTRANS_CLIENT -DUNIXCONN -DANSICPP -O2 \
                -c iceauth.c  -fPIC -DPIC -o .libs/iceauth.o
iceauth.c: In function `KDE_IceGenerateMagicCookie':
iceauth.c:74: called object is not a function
make: *** [iceauth.lo] Error 1

Any help would be appreciated!?

Thanks,

Christopher.

___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


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

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