473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to link file *.o on NetBSD

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.
Nov 13 '05 #1
1 1791
On 19 Aug 2003 12:29:27 -0700
cj******@hotmail.com (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
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sandeep Gupta | last post by:
I've compiled Python 2.3.3 on NetBSD and the thread (and therefore the threading) module is not available. Am I missing the module because of the way I made the binary? I could use the...
6
by: Paul Moore | last post by:
Does anyone know of a Python library which handles sound file formats (MP3, Ogg, FLAC are the three I'm nost interested in). I'd like something that can manipulate "metadata" - stuff like artist,...
10
by: ken | last post by:
hello, i'm writing a c program on a linux system. i'm debugging a segmentation fault but i don't want it to dump a core file because the memory footprint of the program is over 300Mb and i don't...
9
by: Beefheart | last post by:
I have some c code which I have acquired and would like to use, unfortunately all the code (there is a lot of it) is expecting a passed FILE* pointer. The data I have is of the correct type but it...
1
by: Miki Tebeka | last post by:
Hello All, I can't seem to build Python2.4.2 with bsddb on NetBSD. bsddb seems to be missing from the pkg_add installation as well. Any ideas? Thanks, Miki
0
by: kain razial | last post by:
ANYOTHER NEEDS ALSO CONTACT ME.I WILL HELP YOU TO GET THAT TEKLA XSTEEL V 12 DOWNLOAD LINK. http://www.sendspace.com/file/zem32r
0
by: kain razial | last post by:
ANYOTHER NEEDS ALSO CONTACT ME.I WILL HELP YOU TO GET THAT TEKLA XSTEEL V 12 DOWNLOAD LINK. http://www.sendspace.com/file/zem32r
2
by: Logan Lee | last post by:
BACKGROUND READING: http://www.geocities.com/logan.lee30/a_crude_method_of_static_code_analysis.html http://www.geocities.com/logan.lee30/A_method_of_static_code_analysis.html Like this: ...
13
by: llothar | last post by:
On windows everything is '.pyd' but there seems to be two ways to get this on unix? Why and what is the rule?
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.