mGGk-fr / ghostplusplus

GOOGLE CODE BACKUP : Bot for mananging W3 Matches
Other
0 stars 0 forks source link

Installing Ghost++ on QNAP-TS219 #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I followed instructions from codelain wiki (see below)
2. downloaded Ghost 17.1
3. fails during make: cannot find -lgmp

What is the expected output? What do you see instead?

[/usr/src/ghost/bncsutil/src/bncsutil] # make
g++  -Wall -O3 -I ../ -Wno-multichar -fPIC -shared -lgmp bsha1.o cdkeydecoder.o 
checkrevision.o decodekey.o file.o libinfo.o oldauth.o nls.o pe.o sha1.o 
stack.o -o libbncsutil.so
/share/MD0_DATA/.qpkg/Optware/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.3/../../
../../arm-none-linux-gnueabi/bin/ld: cannot find -lgmp
collect2: ld returned 1 exit status
make: *** [libbncsutil.so] Error 1

What version of the product are you using? On what operating system?
Version 17.1 of Ghost. I'm not quite sure what Linux 'taste' my QNAP is running.

Linux version 2.6.33.2 (root@BuildEnv-00) (gcc version 4.2.1) 

Please provide any additional information below.
I'm following the instructions on manual linux install from: 
http://www.codelain.com/wiki/index.php?title=Manual_installation_%28Linux%29

Original issue reported on code.google.com by mike.van...@gmail.com on 8 Nov 2010 at 5:21

GoogleCodeExporter commented 9 years ago
Try:

apt-get install libgmp3-dev

or

yum install gmp-devel

depending on distro and su/sudo if necessary (and it probably is) and then 
compile BNCSUtil once more.

Original comment by dinamo.f...@gmail.com on 8 Nov 2010 at 10:26

GoogleCodeExporter commented 9 years ago
Correct. Installing libgmp did the trick!

Original comment by mike.van...@gmail.com on 12 Nov 2010 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by dinamo.f...@gmail.com on 12 Nov 2010 at 12:50