LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2005, 02:11 PM   #1
SirBlackKnight
LQ Newbie
 
Registered: Sep 2005
Location: Moon
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
SDL-1.2.9 compilation error on Fedora Core 4


Hello,

I'm trying to compile SDL library (v1.2.9) on Linux Fedora Core 4.
Configure script passes perfectly, but during make I'm getting error like this:

Quote:
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DALSA_SUPPORT -DALSA_DYNAMIC=libasound.so.2 -DUSE_DLVSYM -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.0 -I/usr/X11R6/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_FBCON -DHAVE_OPENGL -DUSE_INPUT_EVENTS -D_REENTRANT -DSDL_USE_PTHREADS -DHAVE_SIGACTION -DHAVE_LINUX_VERSION_H -I../../include -I../../include/SDL -I../../src -I../../src/main/linux -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -MT SDL_blit_N.lo -MD -MP -MF .deps/SDL_blit_N.Tpo -c SDL_blit_N.c -fPIC -DPIC -o .libs/SDL_blit_N.o
../../src/hermes/HeadMMX.h:53: error: 'ConvertMMX' aliased to undefined symbol '_ConvertMMX'
../../src/hermes/HeadMMX.h:63: error: 'ConvertMMXpII32_24RGB888' aliased to undefined symbol '_ConvertMMXpII32_24RGB888'
../../src/hermes/HeadMMX.h:64: error: 'ConvertMMXpII32_16RGB565' aliased to undefined symbol '_ConvertMMXpII32_16RGB565'
../../src/hermes/HeadMMX.h:65: error: 'ConvertMMXpII32_16BGR565' aliased to undefined symbol '_ConvertMMXpII32_16BGR565'
../../src/hermes/HeadMMX.h:66: error: 'ConvertMMXpII32_16RGB555' aliased to undefined symbol '_ConvertMMXpII32_16RGB555'
../../src/hermes/HeadMMX.h:67: error: 'ConvertMMXpII32_16BGR555' aliased to undefined symbol '_ConvertMMXpII32_16BGR555'
../../src/hermes/HeadX86.h:82: error: 'Hermes_X86_CPU' aliased to undefined symbol '_Hermes_X86_CPU'
../../src/hermes/HeadX86.h:84: error: 'ConvertX86' aliased to undefined symbol '_ConvertX86'
../../src/hermes/HeadX86.h:93: error: 'ConvertX86p32_32BGR888' aliased to undefined symbol '_ConvertX86p32_32BGR888'
../../src/hermes/HeadX86.h:94: error: 'ConvertX86p32_32RGBA888' aliased to undefined symbol '_ConvertX86p32_32RGBA888'
../../src/hermes/HeadX86.h:95: error: 'ConvertX86p32_32BGRA888' aliased to undefined symbol '_ConvertX86p32_32BGRA888'
../../src/hermes/HeadX86.h:96: error: 'ConvertX86p32_24RGB888' aliased to undefined symbol '_ConvertX86p32_24RGB888'
../../src/hermes/HeadX86.h:97: error: 'ConvertX86p32_24BGR888' aliased to undefined symbol '_ConvertX86p32_24BGR888'
../../src/hermes/HeadX86.h:98: error: 'ConvertX86p32_16RGB565' aliased to undefined symbol '_ConvertX86p32_16RGB565'
../../src/hermes/HeadX86.h:99: error: 'ConvertX86p32_16BGR565' aliased to undefined symbol '_ConvertX86p32_16BGR565'
../../src/hermes/HeadX86.h:100: error: 'ConvertX86p32_16RGB555' aliased to undefined symbol '_ConvertX86p32_16RGB555'
../../src/hermes/HeadX86.h:101: error: 'ConvertX86p32_16BGR555' aliased to undefined symbol '_ConvertX86p32_16BGR555'
../../src/hermes/HeadX86.h:102: error: 'ConvertX86p32_8RGB332' aliased to undefined symbol '_ConvertX86p32_8RGB332'
../../src/hermes/HeadX86.h:112: error: 'ConvertX86p16_16BGR565' aliased to undefined symbol '_ConvertX86p16_16BGR565'
../../src/hermes/HeadX86.h:113: error: 'ConvertX86p16_16RGB555' aliased to undefined symbol '_ConvertX86p16_16RGB555'
../../src/hermes/HeadX86.h:114: error: 'ConvertX86p16_16BGR555' aliased to undefined symbol '_ConvertX86p16_16BGR555'
../../src/hermes/HeadX86.h:115: error: 'ConvertX86p16_8RGB332' aliased to undefined symbol '_ConvertX86p16_8RGB332'
make[3]: *** [SDL_blit_N.lo] Error 1
make[3]: Leaving directory `/home/paul/filez/SDL-1.2.9/src/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paul/filez/SDL-1.2.9/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/filez/SDL-1.2.9/src'
make: *** [all-recursive] Error 1

Am I missing some library?

Greets,
BlackKnight
 
Old 10-24-2005, 03:08 PM   #2
SirBlackKnight
LQ Newbie
 
Registered: Sep 2005
Location: Moon
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Solution

I've found, that there is a bug in SDL v1.2.9, and it won't compile with GCC-4.

It is necessary to type:

Quote:
./configure --disable-nasm && make
and now everything goes right.


Regards,
BlackKnight
 
  


Reply



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
Error Installing Fedora Core 3 tniemeie Fedora 1 03-26-2005 06:20 AM
Fedora Core 2 vs Winex (error=21) Stecco Linux - Games 16 12-15-2004 06:48 PM
PcTel PCT789 Compilation in Fedora Core 1 TheFirstMan LinuxQuestions.org Member Success Stories 2 09-03-2004 12:59 PM
gdk_threads_lock error fedora core 2 linuxinside Fedora - Installation 0 05-18-2004 08:34 PM
How to get rid of this error in Fedora core 1 Magus67 Fedora 12 04-20-2004 07:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:02 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