linktree Atrinik.org - Multiplayer Online Role Playing Game  >  Community  >  Support
linktree Topic: Compile failed in openSUSE
Pages: [1]   Go Down
  Print  
Author Topic: Compile failed in openSUSE  (Read 3100 times)
0 Members and 1 Guest are viewing this topic. Bookmarked by 0 members.
Offline jackads
Posts: 2
Gender: Male
« on: August 21, 2011, 07:02:22 pm »

I can't compile the game in openSUSE, it's because "error 2", looks like need some missing header file in the code, I don't now the real cause of compile error.

Sorry bad English.

Code: inactive:javascript:void(0);
# make clean && make all
[  1%] Building C object CMakeFiles/atrinik.dir/src/client/animations.c.o
[  3%] Building C object CMakeFiles/atrinik.dir/src/client/client.c.o
[  4%] Building C object CMakeFiles/atrinik.dir/src/client/commands.c.o
[  6%] Building C object CMakeFiles/atrinik.dir/src/client/curl.c.o
[  7%] Building C object CMakeFiles/atrinik.dir/src/client/ignore.c.o
[  9%] Building C object CMakeFiles/atrinik.dir/src/client/image.c.o
[ 10%] Building C object CMakeFiles/atrinik.dir/src/client/item.c.o
[ 12%] Building C object CMakeFiles/atrinik.dir/src/client/keybind.c.o
[ 13%] Building C object CMakeFiles/atrinik.dir/src/client/main.c.o
[ 15%] Building C object CMakeFiles/atrinik.dir/src/client/menu.c.o
[ 16%] Building C object CMakeFiles/atrinik.dir/src/client/metaserver.c.o
[ 18%] Building C object CMakeFiles/atrinik.dir/src/client/misc.c.o
[ 19%] Building C object CMakeFiles/atrinik.dir/src/client/player.c.o
[ 21%] Building C object CMakeFiles/atrinik.dir/src/client/porting.c.o
[ 22%] Building C object CMakeFiles/atrinik.dir/src/client/scripts.c.o
[ 24%] Building C object CMakeFiles/atrinik.dir/src/client/server_files.c.o
[ 25%] Building C object CMakeFiles/atrinik.dir/src/client/server_settings.c.o
[ 27%] Building C object CMakeFiles/atrinik.dir/src/client/settings.c.o
[ 28%] Building C object CMakeFiles/atrinik.dir/src/client/socket.c.o
[ 30%] Building C object CMakeFiles/atrinik.dir/src/client/sound.c.o
[ 31%] Building C object CMakeFiles/atrinik.dir/src/client/sprite.c.o
[ 33%] Building C object CMakeFiles/atrinik.dir/src/client/tilestretcher.c.o
[ 34%] Building C object CMakeFiles/atrinik.dir/src/client/updates.c.o
[ 36%] Building C object CMakeFiles/atrinik.dir/src/client/upgrader.c.o
[ 37%] Building C object CMakeFiles/atrinik.dir/src/client/video.c.o
[ 39%] Building C object CMakeFiles/atrinik.dir/src/client/wrapper.c.o
[ 40%] Building C object CMakeFiles/atrinik.dir/src/events/console.c.o
[ 42%] Building C object CMakeFiles/atrinik.dir/src/events/event.c.o
[ 43%] Building C object CMakeFiles/atrinik.dir/src/events/keys.c.o
[ 45%] Building C object CMakeFiles/atrinik.dir/src/events/move.c.o
[ 46%] Building C object CMakeFiles/atrinik.dir/src/gui/book.c.o
[ 48%] Building C object CMakeFiles/atrinik.dir/src/gui/effects.c.o
[ 50%] Building C object CMakeFiles/atrinik.dir/src/gui/fps.c.o
[ 51%] Building C object CMakeFiles/atrinik.dir/src/gui/help.c.o
[ 53%] Building C object CMakeFiles/atrinik.dir/src/gui/input.c.o
[ 54%] Building C object CMakeFiles/atrinik.dir/src/gui/inventory.c.o
[ 56%] Building C object CMakeFiles/atrinik.dir/src/gui/main.c.o
cc1: warnings being treated as errors
/home/jackads/client/src/gui/main.c: In function ‘main_screen_render’:
/home/jackads/client/src/gui/main.c:782:2: error: call to function ‘popup_overlay_need_update’ without a real prototype
/home/jackads/client/src/include/proto.h:478:5: note: ‘popup_overlay_need_update’ was declared here
make[2]: ** [CMakeFiles/atrinik.dir/src/gui/main.c.o] Erro 1
make[1]: ** [CMakeFiles/atrinik.dir/all] Erro 2
make: ** [all] Erro 2


God Bless your all, Shalom!
 Logged
Offline Cleo
Developer
Alex Tokar

Posts: 580
Gender: Male
« Reply #1 on: August 22, 2011, 12:50:47 am »

Try the attached patch, which should fix the problem (run `patch -p0 < client-opensuse-compile-fix.patch` from your home directory) - thanks for reporting this. :)

* client-opensuse-compile-fix.patch (1.3 KB - downloaded 178 times.)
 Logged
Offline jackads
Posts: 2
Gender: Male
« Reply #2 on: August 22, 2011, 06:33:43 pm »

Really thank you!
I need try to attach the patch four times, but it's a sucess.
Now I finally can play the game for the first time.

Really thanks to the support, very beautiful the support for the community.
God Bless you and the project.
 Logged
Offline poly
Posts: 8
Gender: Male
« Reply #3 on: September 30, 2011, 10:44:57 am »

 Hi cleo should the patch work on linux mint too?
 Logged
Offline Cleo
Developer
Alex Tokar

Posts: 580
Gender: Male
« Reply #4 on: September 30, 2011, 11:48:29 am »

If you're having the same issue, yes.
 Logged
Offline poly
Posts: 8
Gender: Male
« Reply #5 on: October 05, 2011, 09:20:13 am »

thank so much cleo keep up the good work
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to: