unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Dwight <dcrs6000@aceweb.com>
To: bug-guile@gnu.org
Subject: Unable to build guile
Date: Sat, 01 Nov 2008 14:08:50 -0700	[thread overview]
Message-ID: <490CC562.9070501@aceweb.com> (raw)

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	other threads:[~2008-11-01 21:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-01 21:08 Dwight [this message]
2008-11-02 20:31 ` Unable to build guile Ludovic Courtès
2008-11-03 21:01   ` Andy Wingo
     [not found]   ` <490E7842.9040903@aceweb.com>
     [not found]     ` <87d4hdmbw8.fsf@gnu.org>
     [not found]       ` <490F78C1.9020703@aceweb.com>
     [not found]         ` <87ljw01lm1.fsf@gnu.org>
2008-11-04  2:16           ` Dwight
2008-11-04 11:11             ` Ludovic Courtès
2008-11-04 20:35               ` Dwight
2008-11-05  9:10                 ` Ludovic Courtès
2008-11-05 21:17                   ` Dwight
2008-11-06 11:28                     ` Ludovic Courtès
2008-11-07  1:22                       ` Dwight
2008-11-08 17:49                         ` Ludovic Courtès
2008-11-09  0:45                           ` Dwight
2008-11-09 21:48                             ` Ludovic Courtès
2008-11-10  2:26                               ` Dwight
2008-11-04 17:50             ` Marijn Schouten (hkBst)
2008-11-05  8:42               ` Ludovic Courtès
2008-11-05 15:05                 ` Marijn Schouten (hkBst)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490CC562.9070501@aceweb.com \
    --to=dcrs6000@aceweb.com \
    --cc=bug-guile@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).