glib 1.18

I generated glib 1.1.8 on the following platforms with egcs 1.1.1:

i686-pc-linux-gnulibc1 (redhat 4.1)
i686-pc-linux-gnu (redhat 5.1)

The generation went smoothly in an automated way on all platforms

- on alpha-dec-osf4.0b, compilation fails with

 : :gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gmodule -DG_LOG_DOMAIN=g_log_domain_gmodule -O2 -Wall -c -DPIC gmodule.c
 :*:In file included from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/egcs-2.91.60/include/excpt.h:85,
 :*:                 from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/egcs-2.91.60/include/pthread_exception.h:147,
 :*:                 from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/egcs-2.91.60/include/pthread.h:282,
 :*:                 from ../glibconfig.h:13,
 :*:                 from ../glib.h:58,
 :*:                 from gmodule.h:28,
 :*:                 from gmodule.c:24:
 :*:/usr/include/pdsc.h:506: warning: `/*' within comment
 :*:In file included from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/egcs-2.91.60/include/pthread.h:290,
 :*:                 from ../glibconfig.h:13,
 : :gmake[1]: Leaving directory `/scratch/happi/GNU.DESK/glib-1.1.8/gmodule'
 :*:                 from ../glib.h:58,
 :*:                 from gmodule.h:28,
 :*:                 from gmodule.c:24:
 :*:/usr/include/c_asm.h:193: parse error before `asm'
 :*:gmake[1]: *** [gmodule.lo] Error 1
 :*:gmake: *** [install-recursive] Error 1

  This is easily corrected by using the -ansi flag of the gcc compiler
  /usr/include/c_asm.h contains a definition of fuction asm which
  conflicts with the asm directive of gcc. The -ansi flag deletes
  these directives.  

  Then, the link of gthread/testgthread failed because
  contains a reference to -lpthreads intead of -lpthread.  Generation
  is then succesfull.

- on powerpc-ibm-aix4.1.5.0, compilation fails with 

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=g_log_domain_gthread  -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -mthreads -c testgthread.c
../testglib.c: In function `testglib_main':
../testglib.c:283: warning: `tmp_string' might be used uninitialized in this function
testgthread.c: In function `test_mutexes':
testgthread.c:15: warning: missing braces around initializer for `'
testgthread.c:16: warning: missing braces around initializer for `'
testgthread.c: In function `new_thread':
testgthread.c:82: `PTHREAD_CREATE_JOINABLE' undeclared (first use in this function)
testgthread.c:82: (Each undeclared identifier is reported only once
testgthread.c:82: for each function it appears in.)
make: *** [testgthread.o] Error 1

  and I have no idea how to resolve that.

I hope it helps.
Thanks for the software.
  *  Philippe Defert: Computing and Networks Division                    *
  *                   CERN,  European Laboratory for Particle Physics    *
  * URL: | E*mail:  *
  *      Un monde nouveau, tu comprends                          ////\   *
  *      Rien ne sera plus jamais comme avant                    \\\//   *
  *      C'est la fin de l'histoire, le rouge apres le noir       | |    *
  *                                                  J.J. Goldman | |    *  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]