[kde-solaris] compile error

David Bishop kde-solaris@mail.kde.org
Sat Mar 8 01:44:01 2003


To follow up my own email, this goes back to autoconf not working correctly.  
It appears that when it 'fast creates' gslconfig.h, it does not actually 
interpolate anything, leaving it in the following state:

#define GSL_SIZEOF_PTH_MUTEX_T          (@GSL_SIZEOF_PTH_MUTEX_T@)
#define GSL_SIZEOF_PTH_COND_T           (@GSL_SIZEOF_PTH_COND_T@)
#define GSL_HAVE_MUTEXATTR_SETTYPE      (@GSL_HAVE_MUTEXATTR_SETTYPE@ && \
                                        GSL_SIZEOF_PTH_MUTEX_T && \
                                        GSL_SIZEOF_PTH_COND_T)
#define GSL_SIZEOF_STD_INTMAX_T         (@GSL_SIZEOF_STD_INTMAX_T@)
#define GSL_HAVE_LIBMAD                 (@GSL_HAVE_LIBMAD@)
#define GSL_HAVE_OGGVORBIS              (@GSL_HAVE_OGGVORBIS@)
#define GSL_HAVE_OGGVORBIS_RC3          (@GSL_HAVE_OGGVORBIS_RC3@)
#define GSL_USE_GSL_GLIB                (@GSL_USE_GSL_GLIB@)
#define GSL_USE_ARTS_THREADS            (@GSL_USE_ARTS_THREADS@)

I can manually put in 1 and 0 (I have another machine that someone managed to 
get it to compile) where appropriate, but of course the makefile is still 
missing -l's for various libs, and other brokeness (mcopidl segfaults when it 
gets to the point of needing to use it).  Any ideas?

[ dbishop@pedh16 ] $ gmake --version
GNU Make 3.80
[ dbishop@pedh16 ] $ autoconf --version
autoconf (GNU Autoconf) 2.57
[ dbishop@pedh16 ] $ automake --version
automake (GNU automake) 1.7.3

On Friday 07 March 2003 09:01 am, David Bishop wrote:
> Has anyone seen this before?  Ideas of what I'm doing wrong?  This is a
> u60/2.7 with g++ 3.2.2.  Configure seems to be picking up on glib 1.3.3. 
> Is that not a late enough version?
>
> /bin/bash ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../.. -I../../flow -I../../flow -I../../mcop -I../..
> -I/usr/local/kde/include -I/usr/local/qt/include  
> -I/usr/local/kde/include/ -I../../libltdl  -DQT_THREAD_SUPPORT 
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -DNDEBUG -O2 
>  -c -o gslwavechunk.lo `test -f gslwavechunk.c || echo './'`gslwavechunk.c
> In file included from ../../flow/gsl/gslcommon.h:22,
>                  from gsldatacache.h:22,
>                  from gsldatacache.c:19:
> ../../flow/gsl/gsldefs.h:25:9: "@" is not valid in #if expressions
> In file included from gslwavechunk.h:22,
>                  from gslwavechunk.cIn file included from
> gsldatahandle.h:22, from gsldatahandle.c:19:
> ../../flow/gsl/gsldefs.h:25:9: "@" is not valid in #if expressions
>
> :19:
>
> ../../flow/gsl/gsldefs.h:25:9: "@" is not valid in #if expressions
> In file included from ../../flow/gsl/gsldefs.h:28,
>                  from gsldatahandle.h:22,
>                  from gsldatahandle.c:19:
> /usr/local/include/glib.h:66:24: glibconfig.h: No such file or directory
> In file included from ../../flow/gsl/gsldefs.h:28,
>                  from ../../flow/gsl/gslcommon.h:22,
>                  from gsldatacache.h:22,
>                  from gsldatacache.c:19:
> /usr/local/include/glib.h:66:24: glibconfig.h: No such file or directory
> In file included from ../../flow/gsl/gsldefs.h:28,
>                  from gslwavechunk.h:22,
>                  from gslwavechunk.c:19:
> /usr/local/include/glib.h:66:24: glibconfig.h: No such file or directory
> In file included from ../../flow/gsl/gsldefs.h:28,
>                  from gsldatahandle.h:22,
>                  from gsldatahandle.c:19:
> /usr/local/include/glib.h:491: parse error before "gssize"
> /usr/local/include/glib.h:492: parse error before "gsize"
> /usr/local/include/glib.h:493: parse error before "GQuark"
> /usr/local/include/glib.h:494: parse error before "GTime"
> /usr/local/include/glib.h:756: parse error before "key_id"
> /usr/local/include/glib.h:827: parse error before "guint8"
> /usr/local/include/glib.h:829: parse error before '}' token
> /usr/local/include/glib.h:1541: parse error before "mask"
> /usr/local/include/glib.h:1559: parse error before "mask"
> /usr/local/include/glib.h:1705: parse error before '*' token
> /usr/local/include/glib.h:1708: parse error before '*' token

-- 
MuMlutlitithtrhreeaadededd s siigngnatatuurere
D.A.Bishop