bug-guile
[Top][All Lists]
Advanced

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

Unable to build guile


From: Dwight
Subject: Unable to build guile
Date: Sat, 01 Nov 2008 14:08:50 -0700
User-agent: Mozilla/5.0 (X11; U; AIX 5.2; en-US; rv:1.7.13.1) Gecko/20070301

Hi,
  gcc produces two warning messages which cause the compile to stop.
  I removed -Wall for those two routines and continued the build.
  Then I got the following error:
---------------------------------------------------------------------------------------------------------------------
/usr/local/bin/gcc -I/usr/local/include -I/opt/pware/include -D_THREAD_SAFE -g -O2 -Wall -Wmissing-prototypes -Werror .libs/guileS.o -I/usr/local/include -I/opt/pware/include -D_THREAD_SAFE -o .libs/guile guile-guile.o -L./.libs -lguile -L/usr/local/lib -L/opt/pware/lib -lintl -liconv -lpthread -lc -lpthreads -lgmp -lm /usr/local/lib/libltdl.a -Wl,-blibpath:/usr/local/lib:/opt/pware/lib:/usr/local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.4:/usr/local/bin/../lib/gcc:/opt/pware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.4:/usr/local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.4/../../..:/opt/pware/lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.4/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: lt__PROGRAM__LTX_preloaded_symbols
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[3]: *** [guile] Error 1
make[3]: Leaving directory `/tmp/VIM/guile-1.8.5/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/VIM/guile-1.8.5/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/VIM/guile-1.8.5'
make: *** [all] Error 2
---------------------------------------------------------------------------------------------------------------------

  I changed the last command to product the following:

---------------------------------------------------------------------------------------------------------------------
(ld): halt 4
(ld): setopt r/o->w
(ld): setopt nodelcsect
(ld): lrgpage 0
(ld): savename .libs/guile
(ld): filelist 14 2
(ld): i /lib/crt0.o
(ld): i /tmp//ccEdFDTO.o
(ld): i .libs/guileS.o
(ld): i guile-guile.o
(ld): lib ./.libs/libguile.a
(ld): lib /usr/local/lib/libintl.a
(ld): lib /usr/local/lib/libiconv.a
(ld): lib /usr/lib/libpthread.a
(ld): lib /usr/lib/libc.a
(ld): lib /usr/local/lib/libgmp.a
(ld): lib /usr/lib/libm.a
(ld): i /usr/local/lib/libltdl.a
(ld): i /usr/local/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.2.4/libgcc.a
(ld): lib /usr/lib/libg.a
LIBRARY: Shared object libguile.a[libguile.so.17]: 2427 symbols imported.
LIBRARY: Shared object libintl.a[libintl.so.8]: 51 symbols imported.
LIBRARY: Shared object libintl.a[libintl.so.3]: 46 symbols imported.
LIBRARY: Shared object libiconv.a[libiconv.so.2]: 12 symbols imported.
LIBRARY: Shared object libiconv.a[shr4.o]: 10 symbols imported.
LIBRARY: Shared object libiconv.a[shr.o]: 11 symbols imported.
LIBRARY: Shared object libpthread.a[shr_comm.o]: 159 symbols imported.
LIBRARY: Shared object libpthread.a[shr_xpg5.o]: 131 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 2609 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[posix_aio.o]: 17 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 11 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 5 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported.
LIBRARY: Shared object libgmp.a[libgmp.so.3]: 394 symbols imported.
LIBRARY: Shared object /usr/local/lib/libltdl.a[libltdl.so.7]: 73 symbols 
imported.
FILELIST: Number of previously inserted files processed: 14
(ld): exports /usr/lib/libg.exp
EXPORTS: Symbols exported: 4
(ld): initfini _GLOBAL__FI_guile _GLOBAL__FD_guile
(ld): resolve
RESOLVE: 341 of 8341 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 30 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR 
Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 
----------------------------------------------------------------------------------------------
 lt__PROGRAM__LTX_preloaded_symbols [582]   ER RW guile.c(guile-guile.o)
                                   000000d0 .data    R_POS    [568]   
<lt__PROGRAM__LTX_preloaded_symbols>
ER: The return code is 8.
ld: 0711-317 ERROR: Undefined symbol: lt__PROGRAM__LTX_preloaded_symbols
collect2: ld returned 8 exit status
---------------------------------------------------------------------------------------------------------------------

  I did a grep trying to find where the symbol was defined and was not able to 
locate it.
  grep found the symbol in guile-guile.o in the guile-1.8.5/libguile directory.

  What am I doing wrong.

  I am trying to build this on AIX 5.2 using:
        gcc (GCC) 4.2.4
        GNU Make 3.81
        autoconf (GNU Autoconf) 2.63
        m4 (GNU M4) 1.4.12

  It seems that I need the guile library to compile autogen and I believe
that vim also use it.

  I would appreciate some help!

Bye,
Dwight









reply via email to

[Prev in Thread] Current Thread [Next in Thread]