How to link file *.o on NetBSD

Discussion in 'C Programming' started by cjundang, Aug 19, 2003.

  1. cjundang

    cjundang Guest

    I wan't to display all process in Unix system. In compile time, it
    didn't have a problem but link time is show error message "ps.o
    (.text+0x9a): undefined reference to pfind"
    "pfind" is a function that implement in file
    /sys/kern/kern_proc.c and its prototype is in /usr/includ/sys/proc.h
    My program is named myps . It is included sys/proc.h. I can
    compile is but can not link it.
    How to solve this problem. Please tell me. thank you very much
    Chaiyut Jundang
    CS.,PSU.
    cjundang, Aug 19, 2003
    #1
    1. Advertising

  2. cjundang

    Mark Gordon Guest

    On 19 Aug 2003 12:29:27 -0700
    (cjundang) wrote:

    > I wan't to display all process in Unix system. In compile time, it
    > didn't have a problem but link time is show error message "ps.o
    > (.text+0x9a): undefined reference to pfind"
    > "pfind" is a function that implement in file
    > /sys/kern/kern_proc.c and its prototype is in /usr/includ/sys/proc.h
    > My program is named myps . It is included sys/proc.h. I can
    > compile is but can not link it.
    > How to solve this problem. Please tell me. thank you very much


    This question is specific to unix. Please wander down to
    comp.unix.programmer (I think it's down the corridor on the right).
    Before posting there please check their FAQ (google for it if you can't
    see it).
    --
    Mark Gordon
    Mark Gordon, Aug 19, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sandeep Gupta

    thread module on NetBSD

    Sandeep Gupta, Jul 2, 2004, in forum: Python
    Replies:
    2
    Views:
    327
    Gary D. Duzan
    Jul 6, 2004
  2. Miki Tebeka

    _bsddb on NetBSD

    Miki Tebeka, Jan 17, 2006, in forum: Python
    Replies:
    1
    Views:
    302
    Laszlo Zsolt Nagy
    Jan 17, 2006
  3. Martin Weber
    Replies:
    0
    Views:
    113
    Martin Weber
    Jul 25, 2003
  4. Dick Davies
    Replies:
    10
    Views:
    201
    Dick Davies
    May 4, 2004
  5. veer
    Replies:
    0
    Views:
    82
Loading...

Share This Page