From: Paolo N. <pne...@gm...> - 2008-09-11 08:00:34
|
Hi Holger, I have found the problem (more elusive than Higgs's Boson, though cheaper to find). I have a logitech Webcam and its associated software. Googling around I found this message: http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html I followed the procedure and now I am able to compile. Tnanks, Paolo Holger Vogt wrote: > Paolo, > > meanwhile I have set up a fresh mingw which runs and currently builds > ngspice! > > I have been following exactly (step by step, an ugly procedure of you > are used to Windows installers) the advice given in > http://www.mingw.org/wiki/msys . > > First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe > downloaded from the link "MingW" given in the first bullet of chapter > "Installing MSYS". Next was to install MSYS downloaded with link "MSYS > 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" > (bash, Coreutils, m4). > > Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. > > To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and > libtool-2.2.6a from the links presented in chapter "Using MSYS with > MinGW" and followed the procedure described in the next lines of the > wiki for each package individually. Finally I added the path > informationas described to C:\msys\1.0\etc\profile. > > Because I prefer not to use rxvt, but the Windows cmd box, I have > changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. > > Double click on the MSYS icon on the desktop will open the cmd box. In > ng-spice-rework I ran > autogen.sh > autogen.log 2>&1 > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug > make > make.log 2>&1 > make install > > and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, > 01.09.09. > > Still compilation is done twice per *.c file as I have already reported. > > To allow compilation with tcl, I installed into C:/mingw > blt24z-for-tcl84.exe from > http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370 > > and tcltk-8.4.1-1.exe from > https://sourceforge.net/project/showfiles.php?group_id=2435. > > You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to > TCL_VERSION='84' > > ./configure --with-windows --enable-maintainer-mode --enable-xspice > --enable-cider --disable-debug --with-tcl > will then create all makefiles. > make clean > make > make.log 2>&1 > now starts compiling. The error I had reported not finding a rule to > make libfte.la is gone! Still it seems to be compiiling twice. > > Compilation finally failed with the error message: > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include > -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows > -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP > -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include > -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields > -march=i686 -O2 -Wall -mwindows -I/mingw/include > -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF > .deps/tclspice.Tpo -c tclspice.c -o tclspice.o > In file included from c:/mingw/include/windef.h:253, > from tclspice.c:57: > c:/mingw/include/winnt.h:185: error: syntax error before ',' token > tclspice.c:92: error: syntax error before "jbuf" > > But this is another story to be dealt with another day. > > Regards > > Holger > > > > Paolo Nenzi schrieb: >> Thanks Holger, >> >> I am quite scared by usign windows for development :) You are heroes :) >> >> Paolo >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |