[Push] on which linux does push 3.1 compile?

Lee Spector lspector at hampshire.edu
Tue May 4 17:14:22 EDT 2010


[ This message bounced when the original poster sent it to the list... I'm not sure why, but I've increased mailman's "bounce threshold"... If anyone else has had letters to the push list bounce then please let me know...  -Lee]

From: Tijn van der Zant <robotijn at gmail.com>
Date: May 4, 2010 9:45:38 AM EDT
To: push at lists.hampshire.edu
Subject: on which linux does push 3.1 compile?


Hi,

I want to compile push under Linux. I am using a 32 bit Ubuntu 10.04.
I have g++, f95 etc. installed. The configuration works fine, but when
running make I get the following after a while:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -DNDEBUG -fomit-frame-pointer -g
-O2 -MT EnvInstructions.lo -MD -MP -MF .deps/EnvInstructions.Tpo -c
EnvInstructions.cpp -o EnvInstructions.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I..    -O2 -DNDEBUG -fomit-frame-pointer  -g -O2 -MT pushC.lo
-MD -MP -MF ".deps/pushC.Tpo" -c -o pushC.lo `test -f
'../extension/pushC.cpp' || echo './'`../extension/pushC.cpp; \
	then mv -f ".deps/pushC.Tpo" ".deps/pushC.Plo"; else rm -f
".deps/pushC.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -DNDEBUG -fomit-frame-pointer -g
-O2 -MT pushC.lo -MD -MP -MF .deps/pushC.Tpo -c ../extension/pushC.cpp
-fPIC -DPIC -o .libs/pushC.o
../extension/pushC.cpp: In function 'char*
pushGetConfigString(PushEnvironment*)':
../extension/pushC.cpp:85: error: 'strdup' was not declared in this scope
../extension/pushC.cpp: In function 'char*
pushGetStacksString(PushEnvironment*)':
../extension/pushC.cpp:90: error: 'strdup' was not declared in this scope
../extension/pushC.cpp: In function 'char*
pushGetExecStackString(PushEnvironment*)':
../extension/pushC.cpp:98: error: 'strdup' was not declared in this scope
../extension/pushC.cpp: In function 'char* pushCodeGetString(PushCode*)':
../extension/pushC.cpp:102: error: 'strdup' was not declared in this scope
../extension/pushC.cpp:104: error: 'strdup' was not declared in this scope
make[2]: *** [pushC.lo] Error 1
make[2]: Leaving directory `/home/tijn/push-3.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tijn/push-3.1.0'
make: *** [all] Error 2

Unless someone knows how to fix this, and instead of trying to solve
this myself, I would just like to know under which Linux people got
this to work. Then I'll install a virtual machine with that linux.

Cheers,

Tijn van der Zant
a post-doc in AI & Robotics



--
Lee Spector, Professor of Computer Science
School of Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438

Check out Genetic Programming and Evolvable Machines:
http://www.springer.com/10710 - http://gpemjournal.blogspot.com/



More information about the Push mailing list