Pages: [1]
  Print  
Author Topic: Openarena fails to build on ppc architecture  (Read 4274 times)
ecik
Nub


Cakes 0
Posts: 4


« on: January 09, 2007, 02:54:44 PM »

Hi!
I'm trying to put openarena in Fedora's default repo. However currently I'm unable to do that due to ppc build errors.
I get following errors:
Code:
gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD  -DBOTLIB -o build/debug-linux-ppc/ded/l_script.o -c code/botlib/l_script.c   
gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD  -DBOTLIB -o build/debug-linux-ppc/ded/l_struct.o -c code/botlib/l_struct.c   
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/linux_signals.o -c code/unix/linux_signals.c
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/unix_main.o -c code/unix/unix_main.c
code/unix/unix_main.c: In function 'tty_Back':
code/unix/unix_main.c:199: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c:201: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c:203: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c: In function 'tty_Show':
code/unix/unix_main.c:241: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c: In function 'Sys_ConsoleInput':
code/unix/unix_main.c:584: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c:646: warning: ignoring return value of 'write', declared with attribute warn_unused_result
code/unix/unix_main.c: In function 'Sys_LoadDll':
code/unix/unix_main.c:786: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/unix_net.o -c code/unix/unix_net.c
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/unix_shared.o -c code/unix/unix_shared.c
code/unix/unix_shared.c: In function 'Sys_Cwd':
code/unix/unix_shared.c:350: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/null_client.o -c code/null/null_client.c
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/null_input.o -c code/null/null_input.c
gcc  -DDEDICATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -fno-strict-aliasing -Wimplicit -Wstrict-prototypes        -DUSE_OPENAL=1 -DUSE_CURL=1 -DUSE_CURL_DLOPEN=1        -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT        -DUSE_LOCAL_HEADERS=1 -MMD -o build/debug-linux-ppc/ded/null_snddma.o -c code/null/null_snddma.c
gcc -o build/debug-linux-ppc/ioq3ded.ppc build/debug-linux-ppc/ded/sv_bot.o build/debug-linux-ppc/ded/sv_client.o build/debug-linux-ppc/ded/sv_ccmds.o build/debug-linux-ppc/ded/sv_game.o build/debug-linux-ppc/ded/sv_init.o build/debug-linux-ppc/ded/sv_main.o build/debug-linux-ppc/ded/sv_net_chan.o build/debug-linux-ppc/ded/sv_snapshot.o build/debug-linux-ppc/ded/sv_world.o build/debug-linux-ppc/ded/cm_load.o build/debug-linux-ppc/ded/cm_patch.o build/debug-linux-ppc/ded/cm_polylib.o build/debug-linux-ppc/ded/cm_test.o build/debug-linux-ppc/ded/cm_trace.o build/debug-linux-ppc/ded/cmd.o build/debug-linux-ppc/ded/common.o build/debug-linux-ppc/ded/cvar.o build/debug-linux-ppc/ded/files.o build/debug-linux-ppc/ded/md4.o build/debug-linux-ppc/ded/msg.o build/debug-linux-ppc/ded/net_chan.o build/debug-linux-ppc/ded/huffman.o build/debug-linux-ppc/ded/q_math.o build/debug-linux-ppc/ded/q_shared.o build/debug-linux-ppc/ded/unzip.o build/debug-linux-ppc/ded/vm.o build/debug-linux-ppc/ded/vm_interpreted.o build/debug-linux-ppc/ded/be_aas_bspq3.o build/debug-linux-ppc/ded/be_aas_cluster.o build/debug-linux-ppc/ded/be_aas_debug.o build/debug-linux-ppc/ded/be_aas_entity.o build/debug-linux-ppc/ded/be_aas_file.o build/debug-linux-ppc/ded/be_aas_main.o build/debug-linux-ppc/ded/be_aas_move.o build/debug-linux-ppc/ded/be_aas_optimize.o build/debug-linux-ppc/ded/be_aas_reach.o build/debug-linux-ppc/ded/be_aas_route.o build/debug-linux-ppc/ded/be_aas_routealt.o build/debug-linux-ppc/ded/be_aas_sample.o build/debug-linux-ppc/ded/be_ai_char.o build/debug-linux-ppc/ded/be_ai_chat.o build/debug-linux-ppc/ded/be_ai_gen.o build/debug-linux-ppc/ded/be_ai_goal.o build/debug-linux-ppc/ded/be_ai_move.o build/debug-linux-ppc/ded/be_ai_weap.o build/debug-linux-ppc/ded/be_ai_weight.o build/debug-linux-ppc/ded/be_ea.o build/debug-linux-ppc/ded/be_interface.o build/debug-linux-ppc/ded/l_crc.o build/debug-linux-ppc/ded/l_libvar.o build/debug-linux-ppc/ded/l_log.o build/debug-linux-ppc/ded/l_memory.o build/debug-linux-ppc/ded/l_precomp.o build/debug-linux-ppc/ded/l_script.o build/debug-linux-ppc/ded/l_struct.o build/debug-linux-ppc/ded/linux_signals.o build/debug-linux-ppc/ded/unix_main.o build/debug-linux-ppc/ded/unix_net.o build/debug-linux-ppc/ded/unix_shared.o build/debug-linux-ppc/ded/null_client.o build/debug-linux-ppc/ded/null_input.o build/debug-linux-ppc/ded/null_snddma.o -ldl -lm
build/debug-linux-ppc/ded/vm.o: In function `VM_Call':
/builddir/build/BUILD/openarena-0.6.0/source/ioq3-svn982/code/qcommon/vm.c:769: undefined reference to `VM_CallCompiled'
build/debug-linux-ppc/ded/vm.o: In function `VM_Create':
/builddir/build/BUILD/openarena-0.6.0/source/ioq3-svn982/code/qcommon/vm.c:587: undefined reference to `VM_Compile'
collect2: ld returned 1 exit status
The full build logs you may see here: http://buildsys.fedoraproject.org/logs/fedora-development-extras/24986-openarena-0.6.0-2.fc7/ppc/build.log
Obviously, if it can't be repaired I can use "ExcludeArch: ppc" tag, but it is extremity Wink
Logged
Czestmyr
Half-Nub


Cakes 0
Posts: 87


Member, Player, Mapper


« Reply #1 on: January 09, 2007, 03:19:41 PM »

Man, that's cool! I'm using Fedora myself. It would be great to have the possibility to update OA via yum!
Logged

Jabber ID: Czestmyr (rolled-herring-sign) jabber.cz
ecik
Nub


Cakes 0
Posts: 4


« Reply #2 on: January 09, 2007, 03:25:06 PM »

Man, that's cool! I'm using Fedora myself. It would be great to have the possibility to update OA via yum!
If there weren't problems I mentioned above, you would be able to install it via yum since a few days ;]
Logged
raynorpat
Nub


Cakes 0
Posts: 13

Member


« Reply #3 on: January 09, 2007, 04:50:56 PM »

seems the build process in missing vm_ppc_new.c
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #4 on: January 09, 2007, 06:44:32 PM »

as said earlier it is a problem in the building tools.

http://buildd.debian.org/pkg.cgi?pkg=openarena

The engine seems to build on everything but alpha and m68.
Logged

Pages: [1]
  Print  
 
Jump to: