gmp.h: No such directory

82 views
Skip to first unread message

Iskandar Ishak

unread,
Oct 30, 2007, 11:44:13 AM10/30/07
to OMNeT++ Discussion List, ove...@googlegroups.com
hye all...

i've reached the part for compiling the OverSim package..but I got this error..

In file included from BaseOverlayMessage_m.h:18,
                 from BaseOverlayMessage_m.cc:13:
./OverlayKey.h:31:17: error: gmp.h: No such file or directory
./OverlayKey.h:38: error: variable or field 'omnet_random' declared void
./OverlayKey.h:38: error: 'omnet_random' declared as an 'inline' variable
./OverlayKey.h:38: error: 'mp_limb_t' was not declared in this scope
./OverlayKey.h:38: error: 'r1p' was not declared in this scope
./OverlayKey.h:38: error: 'mp_size_t' was not declared in this scope
./OverlayKey.h:38: error: initializer expression list treated as compound expression
./OverlayKey.h:467: error: 'mp_limb_t' does not name a type
./OverlayKey.h:473: error: 'mp_limb_t' does not name a type
make[1]: *** [BaseOverlayMessage_m.o] Error 1
make[1]: Leaving directory `/home/administrator/simulator/OverSim-20070926/Common'
make: *** [Common] Error 2
administrator@ubuntu:~/simulator/OverSim-20070926$

i think the error because of the gmp.h...how can i solve this??

Tarciana Dias da Silva

unread,
Oct 30, 2007, 1:11:32 PM10/30/07
to ove...@googlegroups.com
you have to install the libgmp library. Please in http://www.oversim.org/wiki/OverSimInstall, you have as pre-requirement to the installation:
sudo apt-get install 
tk8.4-dev libgmp3-dev libstatistics-descriptive-perl
--
Tarciana Dias da Silva
Bachelor in Computer Science - UFPE
MSc. student in Computer Science - UFPE
Reply all
Reply to author
Forward
0 new messages