hlsyounes / mdpsim

PPDDL plan evalutation simulator
Apache License 2.0
14 stars 5 forks source link

problems in installing the library in 64 bit ubuntu #11

Closed GoogleCodeExporter closed 4 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd .../mdpsim-2.2.2
2. ./configure
3. make

What is the expected output? What do you see instead?
i should be able to make and make install and use the mdpsim

what i see were:
zinnirah@zinnirah-laptop:~/Softwares/mdpsim-2.2.2$ make
make  all-am
make[1]: Entering directory `/home/zinnirah/Softwares/mdpsim-2.2.2'
if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT mdpsim.o -MD -MP -MF 
".deps/mdpsim.Tpo" -c -o mdpsim.o mdpsim.cc; \
    then mv -f ".deps/mdpsim.Tpo" ".deps/mdpsim.Po"; else rm -f ".deps/mdpsim.Tpo"; exit 1; fi
mdpsim.cc: In function ‘bool read_file(const char*)’:
mdpsim.cc:134: error: ‘strerror’ was not declared in this scope
mdpsim.cc: In function ‘const Action* action_selection(const AtomSet&, const 
ValueMap&, const Problem&)’:
mdpsim.cc:155: error: ‘rand’ was not declared in this scope
mdpsim.cc:155: error: ‘RAND_MAX’ was not declared in this scope
mdpsim.cc: In function ‘int main(int, char**)’:
mdpsim.cc:182: error: ‘INT_MAX’ was not declared in this scope
mdpsim.cc:199: error: ‘atoi’ was not declared in this scope
mdpsim.cc:217: error: ‘atol’ was not declared in this scope
mdpsim.cc:238: error: ‘srand’ was not declared in this scope
make[1]: *** [mdpsim.o] Error 1
make[1]: Leaving directory `/home/zinnirah/Softwares/mdpsim-2.2.2'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
mdpsim-2.2.2 on linux ubuntu 10.04 64bit

Please provide any additional information below.

Original issue reported on code.google.com by ummua...@gmail.com on 9 Nov 2011 at 2:09

hlsyounes commented 4 years ago

This should have been fixed by commit f01d769908982cbb90976f1bb3b676899c7baafc, which added relevant includes for the various symbols shown in the error log above.