Compiling OpenBSD code
I'll try and be as brief as possible. I have read the page on compiling openbsd on openbsd.org. I am doing this so I can compile certain programs with debugging symbols and then source debug them with ddd / gdb. I start by going to /usr/src/sbin/echo for example and then 'make'. I add the -g to the Makefile so it includes debug info when compiling. Certain files such as ifconfig do not link.
cc -O2 -pipe -DINET6 -c ifconfig.c
ifconfig.c:102:26: netmpls/mpls.h: No such file or directory
ifconfig.c: In function `setifwmm':
ifconfig.c:1427: error: storage size of `wmm' isn't known
ifconfig.c:1431: error: `SIOCS80211WMMPARMS' undeclared (first use in this function)
I assume the search path for make/gcc is configured somewhere in the bsd.*.mk files. Anyone know how to 'make' ifconfig' for example w/out having to type out the paths for all dependencies?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Compiling pingus error.||bsdnewbie999||OpenBSD General||7||16th May 2009 08:43 AM|
|Compiling Epkowa||Oko||OpenBSD Packages and Ports||3||30th December 2008 09:01 PM|
|Error while compiling e2fsprogs||pax||FreeBSD Ports and Packages||4||4th August 2008 11:40 AM|
|c++ compiling hello world||Gates||Programming||3||26th July 2008 12:48 PM|
|Compiling Nagios 3.02||roundkat||Solaris||1||2nd June 2008 09:09 PM|