Bug 154878 - libSDL has undefined references
libSDL has undefined references
Status: CLOSED DUPLICATE of bug 154771
Product: Fedora
Classification: Fedora
Component: SDL (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-14 13:35 EDT by Yao Zhang
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-15 04:40:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Yao Zhang 2005-04-14 13:35:45 EDT
Description of problem:
When compiling a simple SDL test code, the linker complaints about
undefined references.

Version-Release number of selected component (if applicable):
SDL-1.2.8-3
SDL-devel-1.2.8-3

How reproducible:
Always

Steps to Reproduce:

Code:

#include "SDL.h"

int main(int argc, char *argv[])
{
    SDL_Surface *screen;

    if (SDL_Init(SDL_INIT_VIDEO) < 0) {
        fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError());
        return 1;
    }
    atexit(SDL_Quit);

    return 0;
}

Compile:
gcc a.c `sdl-config --cflags --libs`

Actual results:
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_16RGB565'
/usr/lib/libSDL.so: undefined reference to `ConvertX86'
/usr/lib/libSDL.so: undefined reference to `ConvertMMXpII32_16RGB565'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_24RGB888'
/usr/lib/libSDL.so: undefined reference to `ConvertMMXpII32_16BGR555'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_16RGB555'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_16BGR555'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_32BGR888'
/usr/lib/libSDL.so: undefined reference to `ConvertMMXpII32_16BGR565'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_32BGRA888'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_24BGR888'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_32RGBA888'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p16_16BGR555'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p16_16BGR565'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_8RGB332'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p16_16RGB555'
/usr/lib/libSDL.so: undefined reference to `ConvertMMX'
/usr/lib/libSDL.so: undefined reference to `ConvertX86p32_16BGR565'
/usr/lib/libSDL.so: undefined reference to `ConvertMMXpII32_16RGB555'

Expected results:


Additional info:
Comment 1 Sammy 2005-04-14 19:41:10 EDT
Can confirm this. It is killing my mplayer with the same message. 
Comment 2 Thomas Woerner 2005-04-15 04:40:36 EDT

*** This bug has been marked as a duplicate of 154771 ***

Note You need to log in before you can comment on or make changes to this bug.