[linux-programlama] Re: SDL kütüphanesi

---------

From: Onur Kucuk (onur@kablonet.com.tr)
Date: Mon 28 Apr 2003 - 14:17:47 EEST

  • Next message: tufan biyiktas: "[linux-programlama] Fwd: Qlt:?= Fw: Güller..."

    ALI GUNHAN AKYUREK wrote:
    > Merhaba Linuxe yeni basladım.
    > SDL i normal bir şekilde kurdum /usr/local altında
    > bir uygulamayı derleyip baglamak istiyorum.Derliyorum ama faka bir
    > türlü bağlıyamadım cıktıyı
    > gonderiyorum buraya.
    >
    > # gcc deneme.c -lSDL
    > /usr/local/lib/libSDL.so: undefined reference to `pthread_create'
    > /usr/local/lib/libSDL.so: undefined reference to `pthread_cancel'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_destroy'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_wait'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_post'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_init'
    > /usr/local/lib/libSDL.so: undefined reference to `pthread_sigmask'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_trywait'
    > /usr/local/lib/libSDL.so: undefined reference to pthread_mutexattr_init'
    > /usr/local/lib/libSDL.so: undefined reference to `sem_getvalue'
    > /usr/local/lib/libSDL.so: undefined reference to `pthread_join'
    > collect2: ld returned 1 exit status
    >
    > Nerede yanlışlık var acaba. teşekkürler
    >

      -lpthread eklemeniz yeterli olmali

      Saygilar,
      Onur Kucuk


  • Next message: tufan biyiktas: "[linux-programlama] Fwd: Qlt:?= Fw: Güller..."

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.