Thread: [tcljava-user] threads 2.5.1 build errors
Brought to you by:
mdejong
|
From: Patnaik, A. <APa...@ci...> - 2003-04-22 22:27:35
|
Hello, Well, I've built tcl 8.4.2 okay, but now running into issues with the threads 2.5.1 package. Has anyone built this successfully on Win2k? Did you just run configure and then make or have to edit the Makefile. here is what I get. configure --enable-threads --with-tcl=/c/tcl842/tcl8.4.2/win --prefix=/c/tcl8 --exec-prefix=/c/tcl842 make: *** No rule to make target `threadCmd.o', needed by `thread25.dll'. Stop Thanks!! -----Original Message----- From: Patnaik, Anjela Sent: Tuesday, April 22, 2003 1:03 PM To: 'Mo DeJong' Subject: RE: [tcljava-user] tcl 8.4.2 build from source errors Ok, I finally got past building tcl and tk. The error disappeared after I did a make clean and configure. Now, onto threads 2.5.1. I get this error: make: *** No rule to make target `threadCmd.o', needed by `thread25.dll'. Stop Any clues? Thanks, ap -----Original Message----- From: Mo DeJong [mailto:md...@un...] Sent: Monday, April 21, 2003 8:57 PM To: tcl...@li... Subject: Re: [tcljava-user] tcl 8.4.2 build from source errors On Mon, 21 Apr 2003 17:46:16 -0400 "Patnaik, Anjela" <APa...@ci...> wrote: > Hello, > > I am trying to build tcl 8.4.2 from source and > using the msys environment under Win2k. > > I run configure enabling threads and shared libs: > configure --enable-shared --enable-threads --prefix=/c/tcl842 > --exec-prefix=/c/tcl842 > > Then, I run make and get these errors. Mo or someone, > have you seen these before?? Thanks... > > windres -o tclsh.res.o --include "./../generic" --include "." "tclsh.rc" > gcc -O -DTCL_DBGX= tclAppInit.o libtcl84.a \ > tclsh.res.o -o tclsh84.exe -mconsole > tclAppInit.o(.text+0x84):tclAppInit.c: undefined reference to > `_imp__Tcl_Main' That is really strange. I just downloaded the src for 8.4.2 and built with the mingw dist and it worked just fine for me. I also built the source under Linux with a cross compiler, and it works fine there too. Could you try to remove the .a files and then run make again? Other than that, I could only suggest a reboot before attempting it again. I am running win98 on my machine, is this a problem that only shows up under NT based systems? Has anyone been able to build under NT based windows system? Mo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user |
|
From: Mo D. <md...@un...> - 2003-04-22 23:14:35
|
On Tue, 22 Apr 2003 18:24:31 -0400 "Patnaik, Anjela" <APa...@ci...> wrote: > Hello, > Well, I've built tcl 8.4.2 okay, but > now running into issues with the threads > 2.5.1 package. > > Has anyone built this successfully on > Win2k? Did you just run configure and then > make or have to edit the Makefile. > > here is what I get. > > configure --enable-threads --with-tcl=/c/tcl842/tcl8.4.2/win > --prefix=/c/tcl8 --exec-prefix=/c/tcl842 > > make: *** No rule to make target `threadCmd.o', needed by `thread25.dll'. > Stop Oh crud. You are building the thread package in the srcdir, right? The first thing you could try is to pass " --srcdir `pwd` " to the configure script. If that does not work, then build in a build dir instead of the srcdir and it should work. like: mkdir build_threads ; cd build_threads ../threads.../configure (OPTIONS) cheers Mo |
|
From: <rja...@nm...> - 2003-04-23 20:45:50
|
On a WinNT box, I edited the thread-2.5/win/CONFIG file to export CC=gcc sh ../configure --enable-threads --with-tcl=/c/TclBlend/tcl8.4.2/win -prefix=/c/TclBlend and then did 'sh CONFIG' from the /win subdirectory. bob Patnaik, Anjela wrote: > Hello, > Well, I've built tcl 8.4.2 okay, but > now running into issues with the threads > 2.5.1 package. > > Has anyone built this successfully on > Win2k? Did you just run configure and then > make or have to edit the Makefile. > > here is what I get. > > configure --enable-threads --with-tcl=/c/tcl842/tcl8.4.2/win > --prefix=/c/tcl8 --exec-prefix=/c/tcl842 > > make: *** No rule to make target `threadCmd.o', needed by `thread25.dll'. > Stop > > > Thanks!! > > -----Original Message----- > From: Patnaik, Anjela > Sent: Tuesday, April 22, 2003 1:03 PM > To: 'Mo DeJong' > Subject: RE: [tcljava-user] tcl 8.4.2 build from source errors > > > Ok, I finally got past building tcl and tk. > The error disappeared after I did a > make clean and configure. > > Now, onto threads 2.5.1. > > I get this error: > > make: *** No rule to make target `threadCmd.o', needed by `thread25.dll'. > Stop > > Any clues? > > Thanks, > ap > > -----Original Message----- > From: Mo DeJong [mailto:md...@un...] > Sent: Monday, April 21, 2003 8:57 PM > To: tcl...@li... > Subject: Re: [tcljava-user] tcl 8.4.2 build from source errors > > > On Mon, 21 Apr 2003 17:46:16 -0400 > "Patnaik, Anjela" <APa...@ci...> wrote: > > >>Hello, >> >>I am trying to build tcl 8.4.2 from source and >>using the msys environment under Win2k. >> >>I run configure enabling threads and shared libs: >>configure --enable-shared --enable-threads --prefix=/c/tcl842 >>--exec-prefix=/c/tcl842 >> >>Then, I run make and get these errors. Mo or someone, >>have you seen these before?? Thanks... >> >>windres -o tclsh.res.o --include "./../generic" --include "." "tclsh.rc" >>gcc -O -DTCL_DBGX= tclAppInit.o libtcl84.a \ >>tclsh.res.o -o tclsh84.exe -mconsole >>tclAppInit.o(.text+0x84):tclAppInit.c: undefined reference to >>`_imp__Tcl_Main' > > > That is really strange. I just downloaded the src for 8.4.2 and built > with the mingw dist and it worked just fine for me. I also built the > source under Linux with a cross compiler, and it works fine there too. > Could you try to remove the .a files and then run make again? Other > than that, I could only suggest a reboot before attempting it again. > I am running win98 on my machine, is this a problem that only shows > up under NT based systems? Has anyone been able to build under NT > based windows system? > > Mo > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > |