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. Advertisements

  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. Advertisements

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. Graham Thomson
    Replies:
    3
    Views:
    626
    Eki Y. Baskoro
    Dec 18, 2003
  2. Sandeep Gupta

    thread module on NetBSD

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

    _bsddb on NetBSD

    Miki Tebeka, Jan 17, 2006, in forum: Python
    Replies:
    1
    Views:
    398
    Laszlo Zsolt Nagy
    Jan 17, 2006
  4. Martin Weber
    Replies:
    0
    Views:
    179
    Martin Weber
    Jul 25, 2003
  5. Dick Davies
    Replies:
    10
    Views:
    280
    Dick Davies
    May 4, 2004
  6. veer
    Replies:
    0
    Views:
    146
  7. Ancient_Hacker

    5.8.8 lib/warnings hangs on NetBSD 3.1-stable?

    Ancient_Hacker, Jun 13, 2006, in forum: Perl Misc
    Replies:
    0
    Views:
    142
    Ancient_Hacker
    Jun 13, 2006
  8. Ian Pilcher

    Re: NetBSD Crypto Bug: sizeof v. sizeof()

    Ian Pilcher, May 24, 2013, in forum: C Programming
    Replies:
    1
    Views:
    235
    Jorgen Grahn
    May 28, 2013
Loading...