mineserver-git

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

mineserver-git

Postby tanrax » Thu Aug 23, 2012 10:06 am

I think there's a problem.

[ 88%] Building CXX object src/CMakeFiles/mineserver.dir/worldgen/nethergen.cpp.o
/tmp/yaourt-tmp-rpuser/aur-mineserver-git/src/mineserver/src/worldgen/nethergen.cpp: In member function ‘virtual void NetherGen::AddOre(int, int, int, uint8_t)’:
/tmp/yaourt-tmp-rpuser/aur-mineserver-git/src/mineserver/src/worldgen/nethergen.cpp:410:3: warning: ‘count’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Linking CXX executable ../bin/mineserver
/usr/bin/ld: CMakeFiles/mineserver.dir/tools.cpp.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.4'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.4' is defined in DSO /lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [bin/mineserver] Error 1
make[1]: *** [src/CMakeFiles/mineserver.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build mineserver-git.
==> Restart building mineserver-git ? [y/N]
==> ---------------------------------------
tanrax
 
Posts: 18
Joined: Thu Aug 23, 2012 10:02 am

Re: mineserver-git

Postby WarheadsSE » Thu Aug 23, 2012 12:46 pm

I think you should download the tarball and build it with makepkg, not yaourt.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: mineserver-git

Postby Huulivoide » Sat Aug 25, 2012 12:51 pm

Try adding "LIBS=-lrt" at the start of the camek line
like
LIBS=-lrt cmake....
Huulivoide
 
Posts: 27
Joined: Tue Jun 26, 2012 6:22 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 68 guests