I can't compile a pthread related source

From: ÃÖÇö±¹ (hkchoi_at_mobianet.com)
Date: 10/17/03

  • Next message: Son Eu: "P.K.#2 for v.5.1b automated instl. failed leaving machine unpatchable."
    Date: Sat, 18 Oct 2003 00:15:36 +0900
    
    

    Greetings,

    My system enviroment is same as below.

    OS: Compaq Tru64 UNIX V5.1B (Rev. 2650)
    GCC:
    Reading specs from /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.2.2/specs
    Configured with: ./configure --enable-languages=c,c++
    Thread model: single
    gcc version 3.2.2

    Now, I can't compile my source that use pthread.
    compile result message is "usr/include/pthread.h:290:3: #error <pthread.h>:
    unrecognized compiler. "

    How can I do my source? and
    Can I compile my source in my enviroment?

    thanks.
    r00kie


  • Next message: Son Eu: "P.K.#2 for v.5.1b automated instl. failed leaving machine unpatchable."

    Relevant Pages

    • SYSTEM V shared memory doesnt go with pthread?
      ... i have simple application which has system V shared memory. ... put the -lpthread option in Makefile, and compile it. ... when the program access the shared memory area, ... i didn't do any thing with pthread, ...
      (comp.unix.programmer)
    • Re: SYSTEM V shared memory doesnt go with pthread?
      ... > i have simple application which has system V shared memory. ... > put the -lpthread option in Makefile, and compile it. ... > when the program access the shared memory area, ... i didn't do any thing with pthread, ...
      (comp.unix.programmer)
    • Re: SYSTEM V shared memory doesnt go with pthread?
      ... > put the -lpthread option in Makefile, and compile it. ... i didn't do any thing with pthread, ... It is most likely that your program contains a bug, ... In order to understand recursion you must first understand recursion. ...
      (comp.unix.programmer)
    • Re: Clamav-90_2 Lockup with freebsd 6.2
      ... Was this indeed compiled with pthread or with lpthread? ... As it does not have lpthread, it would fail to compile against this. ...
      (freebsd-stable)