LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2006, 11:14 AM   #1
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Rep: Reputation: 30
Question Having trouble compiling Gens, Error 1, need help.


I'm trying to compile Gens http://yabdeo.free.fr/gens-rc2.tar.gz ran into some problems that I could fix but I got no idea what's wrong now, could someone help please?

I'm running Ubuntu Dapper.

Code:
brynjarh@HAL:~/source/gens-linux-2.12a$ make
Making all in starscream
make[1]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream'
Making all in main68k
make[2]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream/main68k'
make  all-am
make[3]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream/main68k'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream/main68k'
make[2]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream/main68k'
Making all in sub68k
make[2]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream/sub68k'
make  all-am
make[3]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream/sub68k'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream/sub68k'
make[2]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream/sub68k'
make[2]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/starscream'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream'
make[1]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/starscream'
Making all in gens
make[1]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/gens'
Making all in resource
make[2]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/gens/resource'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/gens/resource'
make[2]: Entering directory `/home/brynjarh/source/gens-linux-2.12a/gens'
source='linux/g_ddraw.cpp' object='linux/gens-g_ddraw.o' libtool=no \
        depfile='.deps/linux/gens-g_ddraw.Po' tmpdepfile='.deps/linux/gens-g_ddraw.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gens\" -DVERSION=\"2.12a\" -DSTDC_HEADERS=1  -I. -I. -I./linux   -DLINUX -D__PORT__ -I/usr/include/SDL -D_REENTRANT -DWITH_GTK -DGTK_DISABLE_DEPRECATED -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/local/share/gens\" -g -O2 -I  -c -o linux/gens-g_ddraw.o `test -f linux/g_ddraw.cpp || echo './'`linux/g_ddraw.cpp
linux/g_ddraw.cpp: In function `int Update_Gens_Logo(int)':
linux/g_ddraw.cpp:249: warning: converting to `int' from `float'
linux/g_ddraw.cpp:250: warning: converting to `int' from `float'
linux/g_ddraw.cpp:266: warning: converting to `int' from `float'
linux/g_ddraw.cpp:267: warning: converting to `int' from `float'
/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/crt1.o: In function `_start':../sysdeps/i386/elf/start.S:115: undefined reference to `main'/tmp/ccZJ3pBk.o: In function `Put_Info':linux/g_ddraw.cpp:60: undefined reference to `Show_Message'
:linux/g_ddraw.cpp:64: undefined reference to `win2linux'
:linux/g_ddraw.cpp:66: undefined reference to `GetTickCount'
/tmp/ccZJ3pBk.o: In function `Init_DDraw':linux/g_ddraw.cpp:85: undefined reference to `SDL_InitSubSystem'
:linux/g_ddraw.cpp:87: undefined reference to `SDL_SetVideoMode'
:linux/g_ddraw.cpp:94: undefined reference to `SDL_ShowCursor'
:linux/g_ddraw.cpp:89: undefined reference to `SDL_GetError'
/tmp/ccZJ3pBk.o: In function `End_DDraw':linux/g_ddraw.cpp:102: undefined reference to `SDL_QuitSubSystem'
/tmp/ccZJ3pBk.o: In function `Flip':linux/g_ddraw.cpp:123: undefined reference to `Show_FPS'
:linux/g_ddraw.cpp:177: undefined reference to `Fast_Blur'
:linux/g_ddraw.cpp:179: undefined reference to `VDP_Reg'
:linux/g_ddraw.cpp:179: undefined reference to `Debug'
:linux/g_ddraw.cpp:190: undefined reference to `SDL_LockSurface'
:linux/g_ddraw.cpp:192: undefined reference to `Full_Screen'
:linux/g_ddraw.cpp:194: undefined reference to `VDP_Num_Vis_Lines'
:linux/g_ddraw.cpp:201: undefined reference to `SDL_UnlockSurface'
:linux/g_ddraw.cpp:202: undefined reference to `SDL_Flip'
:linux/g_ddraw.cpp:174: undefined reference to `Print_Text'
:linux/g_ddraw.cpp:177: undefined reference to `Fast_Blur'
:linux/g_ddraw.cpp:177: undefined reference to `Half_Blur'
:linux/g_ddraw.cpp:179: undefined reference to `VDP_Reg'
:linux/g_ddraw.cpp:190: undefined reference to `SDL_LockSurface'
:linux/g_ddraw.cpp:192: undefined reference to `Full_Screen'
:linux/g_ddraw.cpp:198: undefined reference to `VDP_Num_Vis_Lines'
:linux/g_ddraw.cpp:201: undefined reference to `SDL_UnlockSurface'
:linux/g_ddraw.cpp:202: undefined reference to `SDL_Flip'
:linux/g_ddraw.cpp:115: undefined reference to `GetTickCount'
:linux/g_ddraw.cpp:129: undefined reference to `GetPerformanceCounter'
:linux/g_ddraw.cpp:168: undefined reference to `GetPerformanceFrequency'
:linux/g_ddraw.cpp:148: undefined reference to `GetTickCount'
/tmp/ccZJ3pBk.o: In function `Update_Gens_Logo':linux/g_ddraw.cpp:243: undefined reference to `VDP_Reg'
:linux/g_ddraw.cpp:255: undefined reference to `TAB336'
:linux/g_ddraw.cpp:255: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:278: undefined reference to `Half_Blur'
:linux/g_ddraw.cpp:272: undefined reference to `TAB336'
:linux/g_ddraw.cpp:272: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:225: undefined reference to `SDL_RWFromFile'
:linux/g_ddraw.cpp:225: undefined reference to `SDL_LoadBMP_RW'
:linux/g_ddraw.cpp:227: undefined reference to `SDL_LockSurface'
:linux/g_ddraw.cpp:229: undefined reference to `SDL_UnlockSurface'
/tmp/ccZJ3pBk.o: In function `Update_Crazy_Effect':linux/g_ddraw.cpp:363: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:298: undefined reference to `Mode_555'
:linux/g_ddraw.cpp:295: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:296: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:363: undefined reference to `MD_Screen'
/tmp/ccZJ3pBk.o: In function `Update_Emulation':linux/g_ddraw.cpp:378: undefined reference to `Frame_Skip'
:linux/g_ddraw.cpp:380: undefined reference to `Sound_Enable'
:linux/g_ddraw.cpp:390: undefined reference to `Update_Controllers'
:linux/g_ddraw.cpp:392: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:392: undefined reference to `Frame_Skip'
:linux/g_ddraw.cpp:392: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:382: undefined reference to `WP'
:linux/g_ddraw.cpp:382: undefined reference to `Sound_Segs'
:linux/g_ddraw.cpp:382: undefined reference to `WP'
:linux/g_ddraw.cpp:384: undefined reference to `Get_Current_Seg'
:linux/g_ddraw.cpp:384: undefined reference to `WP'
:linux/g_ddraw.cpp:387: undefined reference to `Write_Sound_Buffer'
:linux/g_ddraw.cpp:390: undefined reference to `Update_Controllers'
:linux/g_ddraw.cpp:392: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:392: undefined reference to `Frame_Skip'
:linux/g_ddraw.cpp:398: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:405: undefined reference to `Sound_Enable'
:linux/g_ddraw.cpp:430: undefined reference to `CPU_Mode'
:linux/g_ddraw.cpp:433: undefined reference to `GetTickCount'
:linux/g_ddraw.cpp:439: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:441: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:443: undefined reference to `Update_Controllers'
:linux/g_ddraw.cpp:441: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:441: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:449: undefined reference to `Update_Controllers'
:linux/g_ddraw.cpp:453: undefined reference to `Sleep'
:linux/g_ddraw.cpp:385: undefined reference to `Sound_Segs'
:linux/g_ddraw.cpp:385: undefined reference to `WP'
:linux/g_ddraw.cpp:385: undefined reference to `Frame_Number'
:linux/g_ddraw.cpp:413: undefined reference to `Write_Sound_Buffer'
:linux/g_ddraw.cpp:449: undefined reference to `Update_Controllers'
/tmp/ccZJ3pBk.o: In function `Update_Emulation_One':linux/g_ddraw.cpp:463: undefined reference to `Update_Controllers'
/tmp/ccZJ3pBk.o: In function `Eff_Screen':linux/g_ddraw.cpp:529: undefined reference to `MD_Screen'
/tmp/ccZJ3pBk.o: In function `Pause_Screen':linux/g_ddraw.cpp:542: undefined reference to `Mode_555'
:linux/g_ddraw.cpp:548: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:570: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:554: undefined reference to `MD_Screen'
:linux/g_ddraw.cpp:570: undefined reference to `MD_Screen'
/tmp/ccZJ3pBk.o: In function `Show_Genesis_Screen':linux/g_ddraw.cpp:580: undefined reference to `Do_VDP_Only'
/tmp/ccZJ3pBk.o: In function `Take_Shot':linux/g_ddraw.cpp:590: undefined reference to `Mode_555'
:linux/g_ddraw.cpp:590: undefined reference to `Save_Shot(unsigned char*, int, int, int, int)'
collect2: ld returned 1 exit status
make[2]: *** [linux/gens-g_ddraw.o] Error 1
make[2]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/gens'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brynjarh/source/gens-linux-2.12a/gens'
make: *** [all-recursive] Error 1
And if it's usefull here is what is says when I did ./configure (which was done before make of course)

Code:
brynjarh@HAL:~/source/gens-linux-2.12a$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
checking for X... libraries /usr/X11R6/lib, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.8.14)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gens/Makefile
config.status: creating gens/resource/Makefile
config.status: creating starscream/Makefile
config.status: creating starscream/main68k/Makefile
config.status: creating starscream/sub68k/Makefile
config.status: executing default-1 commands
 
Old 03-12-2006, 12:16 PM   #2
brynjarh
Member
 
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172

Original Poster
Rep: Reputation: 30
Got it working by downloading a newer version http://prdownloads.sourceforge.net/g...ar.gz?download
 
  


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
Issues compiling gens evanw Linux - Games 1 07-14-2005 11:52 AM
Gens - Fedora - MCOP Dispatcher Prob tjdcd Linux - Software 0 11-19-2004 05:42 AM
Compiling issues with Gens... GTK Path crap DOCta_Gnome Linux - Software 17 04-27-2004 10:00 PM
SDL 1.2 not found to run Gens on Mandrake 9.2 gatblast45 Linux - Software 2 03-14-2004 09:15 PM
Trouble with compiling gamehack Debian 3 01-11-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 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
Open Source Consulting | Domain Registration