Camm Maguire <c...@maguirefamily.org> writes:

| Greetings!
| 
| Gabriel Dos Reis <g...@cs.tamu.edu> writes:
| 
| > Camm Maguire <c...@maguirefamily.org> 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

_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to