gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: 32bit GCL


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: 32bit GCL
Date: Sat, 14 Aug 2010 07:34:01 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Greetings!

Gabriel Dos Reis <address@hidden> writes:

> Camm Maguire <address@hidden> writes:
>
> | Greetings!
> | 
> | Gabriel Dos Reis <address@hidden> writes:
> | 
> | > Camm Maguire <address@hidden> writes:
> | >
> | > [...]
> | >
> | > | > Camm, do you think it is possible to make --disable-tk --disable-tcl
> | > | > entirely disabling linking with tcl/tk?
> | > | >
> | > | 
> | > | OK --enable-tcltk is now a configure switch (default yes).
> | >
> | > Hi Camm,
> | >
> | > I just tried:  --disable-tcltk works great.
> | > However, the build fails when I leave that configure option out.  Here
> | > is the error:
> | >
> | > gcc  guis.o tkAppInit.o tkMain.o -o gcltkaux  -L/opt/local/lib -ltk8.5
> | > 
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix
>  -ltk8.5 -lX11 -Wl,-weak-lXss -lXext  -L/opt/local/lib -ltcl8.5  `echo  | sed 
> -e s:-lieee::g`  `echo -m32  -Wl,-headerpad,56        -lm -lreadline | sed -e 
> 's/-lncurses/ /'` ../o/gcllib.a
> | > Undefined symbols:
> | >   "_my_malloc", referenced from:
> | >       _setup_connection_state in guis.o
> | >       _setup_connection_state in guis.o
> | >       _read1 in guis.o
> | >       _guiParseMsg1 in guis.o
> | >       _sock_connect_to_name in guis.o
> | >       _sock_connect_to_name in guis.o
> | >       _StdinProc in tkMain.o
> | >       _StdinProc in tkMain.o
> | >   "_my_free", referenced from:
> | >       _sock_close_connection in guis.o
> | >       _sock_close_connection in guis.o
> | >       _read1 in guis.o
> | >       _main in guis.o
> | >       _main in guis.o
> | >       _StdinProc in tkMain.o
> | >       _my_free$non_lazy_ptr in tkMain.o
> | > ld: symbol(s) not found
> | > collect2: ld returned 1 exit status
> | > make[1]: *** [gcltkaux] Error 1
> | > make: *** [do-gcl-tk] Error 2
> | >
> | 
> | Thanks!  Would be so great if you could cvs update and try this
> | again.  I don't have tk on the mac.
>
> Hi Camm,
>
> Unfortunately, I still get the same link failures.
> Are those symbols supposed to be defined by GCL?
>
> -- Gaby

Sigh.  OK will tend to this a little later.  -m32/-m64 needs to
propagate in CFLAGS and LDFLAGS everywhere for consistent mac builds,
and this is not happening for tk.

Take care,

>
>
>
>

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

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