[pdp-discuss] pdp++ 64 bit

Frank Leoné ftmleone at hotmail.com
Wed Aug 8 02:17:34 MDT 2007


Hello all,

I tried some things, without any luck, such as adding a -m32 parameter to the Makefiles and adding the linux32-command in front of the "make world" command. To no avail...

For version 3, the error I get is:
** Making the maketa program (Maketa) **

make[1]: Entering directory `/usr/local/pdp++/src/ta_string'
make[2]: Entering directory `/usr/local/pdp++/src/ta_string/LINUX'
make  libtastring.so 'OPT_DEBUG= -O2 -Wall'
make[3]: Entering directory `/usr/local/pdp++/src/ta_string/LINUX'
rm -f libtastring.so
ta_string.o
g++ -fPIC -fno-implicit-templates -fno-exceptions -shared -Wl,-soname,libtastring.so -o  libtastring.so ta_string.o ta_string_ti.o
/usr/bin/ld: warning: i386 architecture of input file `ta_string.o' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `ta_string_ti.o' is incompatible with i386:x86-64 output
ta_string.o: In function `Salloc(taStrRep*, char const*, int, int)':
ta_string.cc:(.text+0x5a4): undefined reference to `operator new[](unsigned int)'
ta_string.o: In function `Sprepend(taStrRep*, char const*, int)':
ta_string.cc:(.text+0x1dcf): undefined reference to `operator new[](unsigned int)'
ta_string.o: In function `Scat(taStrRep*, char const*, int, char const*, int, char const*, int)':
ta_string.cc:(.text+0x1faf): undefined reference to `operator new[](unsigned int)'
ta_string.o: In function `Scat(taStrRep*, char const*, int, char const*, int)':
ta_string.cc:(.text+0x221f): undefined reference to `operator new[](unsigned int)'
ta_string.o: In function `Scopy(taStrRep*, taStrRep const*)':
ta_string.cc:(.text+0x245b): undefined reference to `operator new[](unsigned int)'
ta_string.o:ta_string.cc:(.text+0x264f): more undefined references to `operator new[](unsigned int)' follow
collect2: ld returned 1 exit status
make[3]: *** [libtastring.so] Error 1
make[3]: Leaving directory `/usr/local/pdp++/src/ta_string/LINUX'
make[2]: *** [optLib_impl] Error 2
make[2]: Leaving directory `/usr/local/pdp++/src/ta_string/LINUX'
make[1]: *** [optLib] Error 2
make[1]: Leaving directory `/usr/local/pdp++/src/ta_string'
make: *** [Maketa] Error 1

For version 4, I get comparable errors:

make  all-recursive
make[1]: Entering directory `/home/frank/Programs/src/pdp++-4.0.4'
Making all in src/maketa
make[2]: Entering directory `/home/frank/Programs/src/pdp++-4.0.4/src/maketa'
make  all-am
make[3]: Entering directory `/home/frank/Programs/src/pdp++-4.0.4/src/maketa'
if g++ -UDEBUG   -I./../bp -I./../css -I./../leabra -I./../so -I./../cs -I./../pdp -I./../ta -I./../taiqtso -I./../maketa -I/home/frank/Programs/src/pdp++-4.0.4 -I. -I./src -I./../.. -I./.. -DNO_TA_BASE -g -O2 -I/usr/include/Inventor/annex -D_REENTRANT  -I/usr/include/Inventor/annex -D_REENTRANT -I/usr/share/qt3/include   -DSVN_REV= -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/Qt3Support  -MT maketa-ta_ti.o -MD -MP -MF ".deps/maketa-ta_ti.Tpo" -c -o maketa-ta_ti.o `test -f '../ta/ta_ti.cpp' || echo './'`../ta/ta_ti.cpp; \
        then mv -f ".deps/maketa-ta_ti.Tpo" ".deps/maketa-ta_ti.Po"; else rm -f ".deps/maketa-ta_ti.Tpo"; exit 1; fi
../ta/ta_variant.h:337: error: ‘Variant::Variant(int64_t)’ cannot be overloaded
../ta/ta_variant.h:335: error: with ‘Variant::Variant(long int)’
../ta/ta_variant.h:338: error: ‘Variant::Variant(uint64_t)’ cannot be overloaded
../ta/ta_variant.h:336: error: with ‘Variant::Variant(long unsigned int)’
../ta/ta_variant.h:416: error: redefinition of ‘Variant::Variant(int64_t)’
../ta/ta_variant.h:414: error: ‘Variant::Variant(long int)’ previously defined here
../ta/ta_variant.h:417: error: redefinition of ‘Variant::Variant(uint64_t)’
../ta/ta_variant.h:415: error: ‘Variant::Variant(long unsigned int)’ previously defined here
../ta/ta_type.h: In member function ‘virtual taString void_PArray::El_GetStr_(const void*) const’:
../ta/ta_type.h:304: error: cast from ‘void*’ to ‘int’ loses precision
make[3]: *** [maketa-ta_ti.o] Error 1
make[3]: Leaving directory `/home/frank/Programs/src/pdp++-4.0.4/src/maketa'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/frank/Programs/src/pdp++-4.0.4/src/maketa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frank/Programs/src/pdp++-4.0.4'
make: *** [all] Error 2

both most likely related to the 64 bit OS. Maybe this helps...

In the meantime, I copied the compiled version of my 32 bit laptop and it runs. Now it just should use all four cores to speed up processing. Anyone an idea how this can be done?

Thanks a lot in advance!

          kind regards,

                Frank




----------------------------------------
> From: ftmleone at hotmail.com
> To: pdp-discuss at psych.colorado.edu
> Subject: [pdp-discuss] pdp++ 64 bit
> Date: Sat, 4 Aug 2007 10:04:17 +0200
> CC: 
> 
> 
> Hello all,
> 
> I got a new computer and am trying to install pdp++ (both version 3 and 4) in kubuntu 64 bit. Without any luck regretably. Can someone tell me whether pdp++ can be installed on a 64 bit OS? If so, how?
> 
> To use the four cores of my quadcore in version 3, I should use the Makefile.LINUXdmem-file, or shouldn't I? I didn't get the two cores of my dual core to work previously, but hopefully someone can help.
> 
> Thanks a lot in advance,
> 
> kind regards,
> 
> Frank
> 
> 
> 
> 
> _________________________________________________________________
> With Windows Live Hotmail, you can personalize your inbox with your favorite color.
> www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607_______________________________________________
> PDP-Discuss mailing list
> PDP-Discuss at psych.Colorado.EDU
> http://psych.colorado.edu/mailman/listinfo/pdp-discuss

_________________________________________________________________
Play free games, earn tickets, get cool prizes! Join Live Search Club. 
http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink


More information about the PDP-Discuss mailing list