[pdp-discuss] Compile (?) error, 3.2a7 on Linux, Fedora Core 4

Joshua W. Brown jwbrown at artsci.wustl.edu
Fri Feb 10 12:58:11 MST 2006


Hi PDP++ers,

The specific RNS++ issues below are known issues.  First, the compiler 
warnings are non-fatal, and RNS++ will compile and run just fine despite the 
warnings.  Second, there are still a few memory issues that can lead to 
RNS++ crashes especially while saving.  Most of these have been fixed in the 
latest release, but some remain.  The latest available source for RNS++ 
(v0.65, Feb 22 2005) can be downloaded from 
http://iac.wustl.edu/~jwbrown/rns++/download.html.  Source updates will be 
posted there as available.  In the meantime, the workaround is to make a 
backup copy of the model file before saving, and save frequently.

Best,
Josh Brown

********************************************************************
* Joshua W. Brown, Ph.D.                  (314) 935-8459 (WORK)
* Research Scientist                           (314) 935-8790 (FAX)
* Washington University
* Department of Psychology
* Campus Box 1125
* St. Louis, MO, 63130-4899, USA
*
* http://iac.wustl.edu/~jwbrown
********************************************************************
----- Original Message ----- 
From: "Daniele Cuccovillo" <dcuccovi at hotmail.com>
To: <pdp-discuss at psych-srv3.Colorado.EDU>
Sent: Friday, February 10, 2006 12:21 PM
Subject: [pdp-discuss] Compile (?) error, 3.2a7 on Linux, Fedora Core 4


> Hi,
> I'm having two problems using the PDP 3.2a7 version. I tried several 
> things but I cannot find out the solution by myself. I apologize for my 
> bad English, I'll try to be as clear as possible.
>
> First problem: using the programmer's version with binaries compiled by 
> myself, I cannot visualize the red check marks on the checkboxes that I 
> should use to activate several functions (for example "add noise" in the 
> RTUnitSpec, using the rns++ bin). I'm having this problem using all kind 
> of executable files. I was able to solve this problem only using the 
> LinuxSTAT binaries.
>
> Second problem: very frequently the program crashes (both using 
> precompiled and compiled by myself binaries), reporting this error message 
> "PDP++ saving recover file(s) and exiting from signal: segmentation 
> violation".
> The resulting recover file is always empty. When the segmentation 
> violation is reported while I'm trying to save a project, both what should 
> be the "normal" saved file and the recover file result empty. The crash 
> happens in response to several actions: saving a project,  setting up a 
> new specifications, editing something.
>
>
>
>
> The errors reported while compiling the pdp++ are:
>
> while making Makefiles for ta:
> < /bin/cp: impossibile fare stat di `/usr/local/pdp++/src/ta/ta_TA.ccx': 
> No such file or directory
> /bin/cp: impossibile fare stat di `/usr/local/pdp++/src/ta/ta_TA.cc': No 
> such file or directory >
> (it's impossible to do stat of.. .. )
>
> while making Maketa program:
> < echo libtastring.so
> libtastring.so
> if [ so != a ]; then mv -f lib_include/libtastring.so 
> lib_include/libtastring.so.OLD.$$; fi
> mv: impossibile fare stat di `lib_include/libtastring.so': No such file or 
> directory
> make[3]: [libtastring.so] Error 1 (ignored) >
>
> while making the libraries:
> < echo libivmisc.so
> libivmisc.so
> if [ so != a ]; then mv -f lib_include/libivmisc.so 
> lib_include/libivmisc.so.OLD.$$; fi
> mv: impossibile fare stat di `lib_include/libivmisc.so': No such file or 
> directory
> make[3]: [libivmisc.so] Error 1 (ignored) >
>
> And so on for the files "libtypea.so", "libivgraphic.so", "libtamisc.so", 
> "libcss.so", "libpdp.so", "libpdp_leabra.so", "libpdp_oldlba.so", 
> "libpdp_bp.so", "libpdp_cs.so", "libpdp_so.so", "libpdp_bpso.so", 
> "libpdp_lstm.so", "libpdp_rns.so".
>
>
> Moreover I have some warnings:
>
> < Compiling:  /usr/local/pdp++/src/css/css_builtin.cc on localhost in 
> directory /usr/local/pdp++/src/css/LINUX at gio feb 9 18:48:53 CET 2006
> g++ -fPIC -fno-implicit-templates -fno-exceptions -o 
> ss_builtin.o  -I./src_include -I./src_include/css -I/usr/local/pdp++/include/LINUX 
>  -I/usr/local/iv/include   -O2 -Wall -DYYDEBUG  -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void 
>   -DLINUX  -c /usr/local/pdp++/src/css/css_builtin.cc
> /usr/local/pdp++/src/css/css_builtin.cc: In function 'cssEl* 
> cssElCFun_ctermid_stub(int, cssEl**)':
> /usr/local/pdp++/src/css/css_builtin.cc:1846: warning: null argument where 
> non-null required (argument 1) >
>
> < Compiling:  /usr/local/pdp++/src/css/css_lex.cc on localhost in 
> directory /usr/local/pdp++/src/css/LINUX at gio feb 9 18:49:04 CET 2006
> g++ -fPIC -fno-implicit-templates -fno-exceptions -o 
> ss_lex.o  -I./src_include -I./src_include/css -I/usr/local/pdp++/include/LINUX 
>  -I/usr/local/iv/include   -O2 -Wall -DYYDEBUG  -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void 
>   -DLINUX  -c /usr/local/pdp++/src/css/css_lex.cc
> /usr/local/pdp++/src/css/css_lex.cc: In function 'int yylex()':
> /usr/local/pdp++/src/css/css_lex.cc:334: warning: 'iv' may be used 
> uninitialized in this function >
>
> < Compiling:  /usr/local/pdp++/src/pdp/enviro.cc on localhost in directory 
> /usr/local/pdp++/src/pdp/LINUX at gio feb 9 18:49:35 CET 2006
> g++ -fPIC -fno-implicit-templates -fno-exceptions -o 
> nviro.o  -I./src_include -I./src_include/pdp -I/usr/local/pdp++/include/LINUX 
>  -I/usr/local/iv/include   -O2 -Wall   -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void 
>   -DLINUX  -c /usr/local/pdp++/src/pdp/enviro.cc
> /usr/local/pdp++/src/pdp/enviro.cc: In member function 'virtual void 
> Environment::ReadText(std::istream&, EventSpec*, Environment::TextFmt)':
> /usr/local/pdp++/src/pdp/enviro.cc:1483: warning: 'pat_itr$i' may be used 
> uninitialized in this function
> /usr/local/pdp++/src/pdp/enviro.cc:1483: warning: 'pat_itr$g' may be used 
> uninitialized in this function
> /usr/local/pdp++/src/pdp/enviro.cc:1483: warning: 'pat_itr$cgp' may be 
> used uninitialized in this function
> /usr/local/pdp++/src/pdp/enviro.cc: In member function 'virtual void 
> Environment::ReadBinary(std::istream&, EventSpec*)':
> /usr/local/pdp++/src/pdp/enviro.cc:1549: warning: 'pat_itr$i' may be used 
> uninitialized in this function
> /usr/local/pdp++/src/pdp/enviro.cc:1549: warning: 'pat_itr$g' may be used 
> uninitialized in this function
> /usr/local/pdp++/src/pdp/enviro.cc:1549: warning: 'pat_itr$cgp' may be 
> used uninitialized in this function>
>
> < Compiling:  /usr/local/pdp++/src/rns/rns.cc on localhost in directory 
> /usr/local/pdp++/src/rns/LINUX at gio feb 9 18:54:28 CET 2006
> g++ -fPIC -fno-implicit-templates -fno-exceptions -o 
> ns.o  -I./src_include -I./src_include/rns -I/usr/local/pdp++/include/LINUX 
>  -I/usr/local/iv/include -O2 -Wall   -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void 
>   -DLINUX  -c /usr/local/pdp++/src/rns/rns.cc
> /usr/local/pdp++/src/rns/rns.cc: In member function 'void 
> ModelParam::updateParamsFromSpec(taBase*)':
> /usr/local/pdp++/src/rns/rns.cc:1447: warning: passing NULL to non-pointer 
> argument 1 of 'taString::taString(int, const char*)'
> /usr/local/pdp++/src/rns/rns.cc: In member function 'virtual void 
> RtConstrain::Loop()':
> /usr/local/pdp++/src/rns/rns.cc:2077: warning: unused variable 'dummy' >
>
>
> Please someone could help me in finding out some solution?
> Thanks in advance,
> Daniele
>
>
> _______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych-srv3.Colorado.EDU
> http://psych-srv3.Colorado.EDU/mailman/listinfo/pdp-discuss
> 




More information about the PDP-Discuss mailing list