Re: gnucap development snapshot 2008-02-11

Rubén Gómez Antolí <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.general
Message-ID <[email protected]>
Hello Al,

al davis wrote:
> There is a new development snapshot available ... 
> http://gnucap.org/devel/gnucap-2008-03-24.tar.gz
> 
> Models (optional) have also been updated, fixing some attachment 
> problems:
> http://gnucap.org/devel/gnucap-2008-03-24-models-bsim.tar.gz
> http://gnucap.org/devel/gnucap-2008-03-24-models-ngspice17.tar.gz
> http://gnucap.org/devel/gnucap-2008-03-24-models-spice3f5.tar.gz
> 

I test this snapshot with attach and PowerPC, I note this:

a) Under gnucap tree source:

razer@mac-lobo:~/Fuentes/Electronica/Gnucap/gnucap-2008-03-24/models-ngspice17/asrc$
gnucap
Gnucap 2008.03.24 RCS 26.76
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2007, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome
to redistribute it under the terms of
the GNU General Public License, version 3 or later.
See the file "COPYING" for details.
gnucap> attach ./asrc.so
attach ./asrc.so
       ^ ? ./asrc.so: undefined symbol: CKTfndBranch
gnucap> attach ../res/res.so
R: already installed, replacing
stashing as R:0
r: already installed, replacing
stashing as r:0
gnucap>

All is OK

b) Under other directory:

razer@mac-lobo:~/Practicas_2008/Practica_2/Circuitos/Campo_de_pruebas$ ll
total 1,4M
-rwxr-xr-x 1 razer razer 649K mar 26 16:03 asrc.so
-rw-r--r-- 1 razer razer  303 mar  5 22:36 Fuente_B_no_lineal.ckt
-rw-r--r-- 1 razer razer  298 mar  8 22:27 Fuente_no_lineal_Gnucap.ckt
drwxr-xr-x 1 razer razer    4 may 23  2007 Fuera
drwxr-xr-x 1 razer razer    9 feb 19 01:13 Gnucap
-rw-r--r-- 1 razer razer  729 mar  5 22:37 logfile.1
drwxr-xr-x 1 razer razer    6 jun 13  2007 Ngspice
drwxr-xr-x 1 razer razer    5 jun 25  2007 Oregano
-rw-r--r-- 1 razer razer 2,1K jun 15  2007 Preamplifier.cir
-rw-r--r-- 1 razer razer  132 feb 18 22:39 prueba_nodos.ckt
drwxr-xr-x 1 razer razer    5 jun 13  2007 Qucs
-rwxr-xr-x 1 razer razer 684K mar 26 16:03 res.so
-rw-r--r-- 1 razer razer    0 mar 16 11:14 salida.tran
razer@mac-lobo:~/Practicas_2008/Practica_2/Circuitos/Campo_de_pruebas$
gnucap
Gnucap 2008.03.24 RCS 26.76
The Gnu Circuit Analysis Package
Never trust any version less than 1.0
Copyright 1982-2007, Albert Davis
Gnucap comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome
to redistribute it under the terms of
the GNU General Public License, version 3 or later.
See the file "COPYING" for details.
gnucap> attach ./asrc.so
attach ./asrc.so
       ^ ? ./asrc.so: failed to map segment from shared object:
Operation not permitted
gnucap> attach ./res.so
attach ./res.so
       ^ ? ./res.so: failed to map segment from shared object: Operation
not permitted
gnucap>

I get the same error that in my last mail ("Problem attaching models").

What's happenig here? Any ideas or test?

I can test last snapshot in this way, Do you think about?

And, do you think that it is possible that the cause are my own system
(and not powerpc)?

> Another optional package contains some tools.  There are no 
> changes, but there is a new one for consistency.
> http://gnucap.org/devel/gnucap-2008-03-24-tools.tar.gz
> 
> [...]

I was try to compile c_rparam.cc but:

g++ -fPIC -o rparam.so c_rparam.cc
c_rparam.cc:1:22: error: c_comand.h: No existe el fichero o el directorio
c_rparam.cc:2:21: error: globals.h: No existe el fichero o el directorio
c_rparam.cc:4: error: expected class-name before '{' token
c_rparam.cc:6: error: 'CS' has not been declared
c_rparam.cc:6: error: 'CARD_LIST' has not been declared
c_rparam.cc: In member function 'void CMD_RPARAM::do_it(int&, int*)':
c_rparam.cc:8: error: 'string' is not a member of 'std'
c_rparam.cc:8: error: expected `;' before 'var_name'
c_rparam.cc:11: error: 'var_name' was not declared in this scope
c_rparam.cc:11: error: 'base_name' was not declared in this scope
c_rparam.cc:13: error: request for member 'params' in '* scope', which
is of non-class type 'int'
c_rparam.cc:14: error: 'rand' was not declared in this scope
c_rparam.cc:14: error: 'RAND_MAX' was not declared in this scope
c_rparam.cc:17: error: 'cout' is not a member of 'std'
c_rparam.cc:17: error: 'to_string' was not declared in this scope
c_rparam.cc:18: error: 'command' was not declared in this scope
c_rparam.cc: At global scope:
c_rparam.cc:21: error: expected constructor, destructor, or type
conversion before '<' token

"find -iname c_command.h" under gnucap snapshot tree don't return
anything, and globals.h too.

Sorry for the ignorance.

Thanks too much for your attention and patience.

Salud y Revolución.

Lobo.
-- 
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.