LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon
User Name
Password
Sabayon This forum is for the discussion of Sabayon Linux.

Notices


Reply
  Search this Thread
Old 06-15-2016, 12:25 AM   #1
lg240176
LQ Newbie
 
Registered: Jun 2016
Distribution: Sabayon
Posts: 10

Rep: Reputation: 0
Freedroid RPG and Sabayon 16.07


Hallo,

i have Sabayon 16.07. I have problem with the "make-command" in the freedroidrpg 16.1-directory.

Here the Output:

Code:
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1 $ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
## ---------------------------- ##
## Checking compulsory programs ##
## ---------------------------- ##
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether we are using the CLANG C compiler... no
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... /usr/bin/gawk
checking for lua2dox... no
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for -windres... no
checking for windres... windres
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
## ----------------------------- ##
## Checking compulsory libraries ##
## ----------------------------- ##
checking for sin in -lm... yes
checking for compress in -lz... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for png_read_png in -lpng... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.3... yes
checking for IMG_LoadJPG_RW in -lSDL_image... yes
checking for zoomSurface in -lSDL_gfx... yes
## --------------------------- ##
## Checking optional libraries ##
## --------------------------- ##
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for X... libraries , headers
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for openGL libraries... yes
checking for Mix_ChannelFinished in -lSDL_mixer... yes
checking for oggpack_read in -logg... yes
checking for vorbis_block_init in -lvorbis... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... no
checking for LUA... no
configure: No system-wide Lua 5.3 library found. Using embedded Lua instead
## --------------------- ##
## Checking header files ##
## --------------------- ##
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for unistd.h... (cached) yes
## -------------- ##
## Checking types ##
## -------------- ##
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for int16_t... yes
checking for int32_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
## -------------------------- ##
## Checking library functions ##
## -------------------------- ##
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for working strcoll... yes
checking for alphasort... yes
checking for atexit... yes
checking for clock_gettime... yes
checking for dirname... yes
checking for floor... yes
checking for getcwd... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for nl_langinfo... yes
checking for pow... yes
checking for putenv... yes
checking for rint... yes
checking for scandir... yes
checking for setenv... yes
checking for setlocale... yes
checking for sqrt... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for backtrace... yes
## --------------------- ##
## Creating output files ##
## --------------------- ##
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lua/Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating tools/atlas/Makefile
config.status: creating win32/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/Makefile
config.status: creating doc/manual/Doxyfile
config.status: creating doc/manual/Makefile
config.status: creating doc/tools/Doxyfile
config.status: creating doc/tools/Makefile
config.status: creating po/Makefile
config.status: creating po/po-src/Makefile.in
config.status: creating po/po-dialogs/Makefile.in
config.status: creating po/po-data/Makefile.in
config.status: creating po/l10n-others/Makefile
config.status: creating pkgs/Makefile
config.status: creating pkgs/freedesktop/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/po-src/POTFILES
config.status: creating po/po-src/Makefile
config.status: creating po/po-dialogs/POTFILES
config.status: creating po/po-dialogs/Makefile
config.status: creating po/po-data/POTFILES
config.status: creating po/po-data/Makefile

## ------- ##
## Summary ##
## ------- ##


    CPPFLAGS:     -DFD_DATADIR='"$(pkgdatadir)"' -I$(top_srcdir)/lua -DLOCALEDIR='"$(localedir)"'
    CFLAGS:       -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -Wall -Wno-format-zero-length -ffast-math -g -O2
    LDFLAGS:      -rdynamic -Wl,--as-needed
    LIBS:        -lvorbis -logg -lSDL_mixer -lSDL_gfx -lSDL_image -lpng -ljpeg -lz -lm  $(top_builddir)/lua/liblua.a  -lSDL -lpthread -lGL  -lm

    compiler:                        gcc
    used Lua library:                embedded (due to Lua 5.3 not found system-wide)
    compile with OpenGL support:     yes
    compile with sound support:      yes
    compile dev tools:               no
    embed the real-time profiler:    no
    localization enabled:            yes

lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1 $ make
make CC=gcc RANLIB=ranlib STRIP= all-recursive
make[1]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1“ wird betreten
Making all in lua
make[2]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/lua“ wird betreten
make -f ../lua/lua.mk  liblua.a
make[3]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/lua“ wird betreten
make[3]: „liblua.a“ ist bereits aktuell.
make[3]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/lua“ wird verlassen
make[2]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/lua“ wird verlassen
Making all in src
make[2]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/src“ wird betreten
make  all-am
make[3]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/src“ wird betreten
depbase=`echo savestruct_internal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -DFD_DATADIR='"/usr/local/share/freedroidrpg"' -I../lua -DLOCALEDIR='"/usr/local/share/locale"'  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -Wno-format-zero-length -ffast-math -g -O2 -MT savestruct_internal.o -MD -MP -MF $depbase.Tpo -c -o savestruct_internal.o savestruct_internal.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -Wno-format-zero-length -ffast-math -g -O2 -rdynamic -Wl,--as-needed  -o freedroidRPG action.o addon_crafting_ui.o animate.o armor.o automap.o benchmark.o BFont.o blocks.o bullet.o character.o chat.o colldet.o dynarray.o enemy.o event.o faction.o floor_tiles.o font.o game_ui.o getopt.o getopt1.o graphics.o hud.o image.o influ.o init.o input.o items.o item_upgrades.o item_upgrades_ui.o keyboard.o lang.o light.o lists.o lua.o luaconfig.o main.o map.o map_label.o menu.o misc.o mission.o npc.o obstacle.o obstacle_extension.o open_gl.o open_gl_atlas.o open_gl_debug.o pathfinder.o pngfuncs.o quest_browser_ui.o rtprof.o saveloadgame.o savestruct_internal.o scandir.o shop.o skills.o sound.o sound_effects.o string.o takeover.o text.o text_public.o view.o waypoint.o lua/luaFD.o lua/luaFD_tux.o lua/luaFD_npc.o lvledit/lvledit.o lvledit/lvledit_actions.o lvledit/lvledit_beautify_actions.o lvledit/lvledit_display.o lvledit/lvledit_enemy.o lvledit/lvledit_input.o lvledit/lvledit_map.o lvledit/lvledit_menu.o lvledit/lvledit_object_lists.o lvledit/lvledit_tools.o lvledit/lvledit_tool_move.o lvledit/lvledit_tool_place.o lvledit/lvledit_tool_select.o lvledit/lvledit_validator.o lvledit/lvledit_widgets.o lvledit/lvledit_widget_categoryselect.o lvledit/lvledit_widget_map.o lvledit/lvledit_widget_minimap.o lvledit/lvledit_widget_toolbar.o mapgen/gram_simple.o mapgen/mapgen.o mapgen/themes.o savegame/convert.o savegame/filters_0_16.o widgets/widgets.o widgets/widget_background.o widgets/widget_button.o widgets/widget_group.o widgets/widget_text.o widgets/widget_text_list.o savestruct.o version.o ../lua/liblua.a  -lSDL -lpthread -lGL  -lm   -lvorbis -logg -lSDL_mixer -lSDL_gfx -lSDL_image -lpng -ljpeg -lz -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../lua/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC
../lua/liblua.a: error adding symbols: Bad value
collect2: Fehler: ld gab 1 als Ende-Status zurück
Makefile:519: die Regel für Ziel „freedroidRPG“ scheiterte
make[3]: *** [freedroidRPG] Fehler 1
make[3]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/src“ wird verlassen
Makefile:352: die Regel für Ziel „all“ scheiterte
make[2]: *** [all] Fehler 2
make[2]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1/src“ wird verlassen
Makefile:474: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/home/lars/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1“ wird verlassen
Makefile:354: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
lars@lars-lenovo-b50-30 ~/Downloads/Programme/Linux/Spiele/Freedroid/freedroidrpg-0.16.1 $
What for packages must i installed?

Greetings

Lars
 
Old 06-16-2016, 01:32 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,125
Blog Entries: 5

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Code:
gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -pipe -Wall -Wno-format-zero-length -ffast-math -g -O2 -rdynamic -Wl,--as-needed  -o freedroidRPG action.o addon_crafting_ui.o animate.o armor.o automap.o benchmark.o BFont.o blocks.o bullet.o character.o chat.o colldet.o dynarray.o enemy.o event.o faction.o floor_tiles.o font.o game_ui.o getopt.o getopt1.o graphics.o hud.o image.o influ.o init.o input.o items.o item_upgrades.o item_upgrades_ui.o keyboard.o lang.o light.o lists.o lua.o luaconfig.o main.o map.o map_label.o menu.o misc.o mission.o npc.o obstacle.o obstacle_extension.o open_gl.o open_gl_atlas.o open_gl_debug.o pathfinder.o pngfuncs.o quest_browser_ui.o rtprof.o saveloadgame.o savestruct_internal.o scandir.o shop.o skills.o sound.o sound_effects.o string.o takeover.o text.o text_public.o view.o waypoint.o lua/luaFD.o lua/luaFD_tux.o lua/luaFD_npc.o lvledit/lvledit.o lvledit/lvledit_actions.o lvledit/lvledit_beautify_actions.o lvledit/lvledit_display.o lvledit/lvledit_enemy.o lvledit/lvledit_input.o lvledit/lvledit_map.o lvledit/lvledit_menu.o lvledit/lvledit_object_lists.o lvledit/lvledit_tools.o lvledit/lvledit_tool_move.o lvledit/lvledit_tool_place.o lvledit/lvledit_tool_select.o lvledit/lvledit_validator.o lvledit/lvledit_widgets.o lvledit/lvledit_widget_categoryselect.o lvledit/lvledit_widget_map.o lvledit/lvledit_widget_minimap.o lvledit/lvledit_widget_toolbar.o mapgen/gram_simple.o mapgen/mapgen.o mapgen/themes.o savegame/convert.o savegame/filters_0_16.o widgets/widgets.o widgets/widget_background.o widgets/widget_button.o widgets/widget_group.o widgets/widget_text.o widgets/widget_text_list.o savestruct.o version.o ../lua/liblua.a  -lSDL -lpthread -lGL  -lm   -lvorbis -logg -lSDL_mixer -lSDL_gfx -lSDL_image -lpng -ljpeg -lz -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../lua/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC
../lua/liblua.a: error adding symbols: Bad value
collect2: Fehler: ld gab 1 als Ende-Status zurück
that's one sh*tload of a command line, and that's where the error is:
"`luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC"
that should help you troubleshoot the problem.
 
Old 06-16-2016, 07:59 AM   #3
lg240176
LQ Newbie
 
Registered: Jun 2016
Distribution: Sabayon
Posts: 10

Original Poster
Rep: Reputation: 0
Freedroid RPG and Sabayon 16.07

The problem has fixed by freedroid-irc.
 
Old 06-16-2016, 10:53 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,125
Blog Entries: 5

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Quote:
Originally Posted by lg240176 View Post
The problem has fixed by freedroid-irc.
how?
please share your solution, others will benefit.
then mark this thread [SOLVED].
 
Old 06-17-2016, 12:58 AM   #5
lg240176
LQ Newbie
 
Registered: Jun 2016
Distribution: Sabayon
Posts: 10

Original Poster
Rep: Reputation: 0
The freedroidRPG-file exists in the src-directory.
First the "make clean" and "make" command in the lua-directory from the freedroidrpg and
finally in the root-directory from freedroidrpg the ./configure and make
commands.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Want to make an RPG game? Looks like RPG Maker MV may be coming to Linux LXer Syndicated Linux News 0 03-07-2016 05:13 PM
Sabayon KDE AMD x86-64 2.6.29-sabayon - something worth trying. rysiekmus2 Sabayon 1 06-17-2009 04:01 AM
Rpg slayt12 Linux - Games 3 12-01-2005 12:11 PM
Freedroid RPG make problems on Mandrake 9.2 danny_beta_read Linux - Games 0 03-22-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration