lukemcredmond / violetland

Automatically exported from code.google.com/p/violetland
0 stars 0 forks source link

crashed while compiling #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make as in readme.txt said:
 create folder - artem@artem-desktop:
~/violetland-read-onlyartem@artem-desktop:~/violemkdir build
then cd build
cmake ..
no problems.
then sudo make install :
Linking CXX executable violetland
/usr/local/lib/libSDL.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [violetland] Ошибка 1
make[1]: *** [CMakeFiles/violetland.dir/all] Ошибка 2
make: *** [all] Ошибка 2

OS: Ubuntu 9.10, previous versions of violetland compiled and work properly

Original issue reported on code.google.com by feebleha...@mail.ru on 22 Jan 2010 at 5:55

GoogleCodeExporter commented 9 years ago
Post an output of the "file /usr/local/lib/libSDL.so" command.

Original comment by 5253...@gmail.com on 22 Jan 2010 at 6:41

GoogleCodeExporter commented 9 years ago
/usr/local/lib/libSDL.so: symbolic link to `libSDL-1.2.so.0.11.2'

Original comment by feebleha...@mail.ru on 22 Jan 2010 at 6:56

GoogleCodeExporter commented 9 years ago
Ok, now post an output of "file /usr/local/lib/libSDL-1.2.so.0.11.2".

Original comment by 5253...@gmail.com on 22 Jan 2010 at 7:10

GoogleCodeExporter commented 9 years ago
/usr/local/lib/libSDL-1.2.so.0.11.2: ELF 32-bit LSB shared object, Intel 80386,
version 1 (SYSV), dynamically linked, not stripped
hm...why 32-bit? I've got 64-bit OS

Original comment by feebleha...@mail.ru on 22 Jan 2010 at 7:16

GoogleCodeExporter commented 9 years ago
we were trying to play game on a fresh ubuntu 9.10 x86-64 install under VM - 
it's
work perfectly. should work for you.

Original comment by 5253...@gmail.com on 23 Jan 2010 at 8:21

GoogleCodeExporter commented 9 years ago
to make that more clear, i am the guy who tested this yesterday. i just 
installed the needed sdl libs and cmake 
with apt-get. everthing runs fine out of the box. all on a really fresh ubuntu 
9.10, i installed it just for testing 
this issue.. just kidding ;)

Original comment by filecorpse@googlemail.com on 23 Jan 2010 at 10:36

GoogleCodeExporter commented 9 years ago
may be this will help too (from CMakeError.log):
/usr/bin/gcc     -DCHECK_FUNCTION_EXISTS=pthread_create  
CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o  -o cmTryCompileExec
-rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
make[1]: *** [cmTryCompileExec] Ошибка 1
make[1]: Выход из каталога 
`/home/artem/violetland-read-only/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec/fast] Ошибка 2

Original comment by feebleha...@mail.ru on 23 Jan 2010 at 4:13

GoogleCodeExporter commented 9 years ago
looks strange, you really should have pthreads. sry i cant help you with that, 
maybe your system is kinda 
confused for some reason.

Original comment by filecorpse@googlemail.com on 23 Jan 2010 at 4:30

GoogleCodeExporter commented 9 years ago
also don't know what to do, have just re-installed all packages, connected with 
SDL,
no result=(

Original comment by feebleha...@mail.ru on 23 Jan 2010 at 6:43

GoogleCodeExporter commented 9 years ago
do you know, from what library do I need file libSDL-1.2.so.0.11.2. now file
libSDL-1.2.so.0.11.2 says that there is no such file or directory. looks like
something (or someone) delete some files.

Original comment by feebleha...@gmail.com on 27 Jan 2010 at 7:53

GoogleCodeExporter commented 9 years ago
i will look later where these files are located.

Original comment by tleo.t...@googlemail.com on 28 Jan 2010 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by 5253...@gmail.com on 11 Mar 2010 at 11:06