argus-clients-3.0.0.rc.63 make failure - OpenBSD4.1

Carter Bullard carter at qosient.com
Fri Nov 9 13:07:36 EST 2007


Hey Harry,
Hmmmm, I must have missed it, as we're trying to get things
ready for release.  So you're getting this error in OpenBSD4.1?
Is the problem that _POSIX_THREAD_PRIORITY_SCHEDULING is
defined, but these two routines, sched_get_priority_min() and
sched_get_priority_max() are not there, or are they in some weird
include file?

Carter


On Nov 9, 2007, at 12:36 PM, Harry Hoffman wrote:

> Oops, sorry... I see that this was already covered in the mailing  
> list... missed it with my initial scan through the archives.
>
> Harry Hoffman wrote:
>> Hi All,
>> Attempting to build the latest argus-clients on obsd 4.1 and have  
>> encountered the following errors:
>> gcc -O3 -o ../bin/ra ra.o ../lib/argus_parse.a ../lib/ 
>> argus_common.a ../lib/argus_client.a -lm -lreadline -ltermcap   - 
>> lpthread
>> ../lib/argus_parse.a(argus_main.o)(.text+0x2559): In function  
>> `ArgusParseArgs':
>> : warning: sprintf() is often misused, please use snprintf()
>> ../lib/argus_parse.a(argus_main.o)(.text+0x12f): In function `main':
>> : undefined reference to `sched_get_priority_min'
>> ../lib/argus_parse.a(argus_main.o)(.text+0x147): In function `main':
>> : undefined reference to `sched_get_priority_max'
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> Stop in /root/ADDONS/argus-clients-3.0.0.rc.63/clients (line 90 of  
>> Makefile).
>> *** Error code 1
>> Stop in /root/ADDONS/argus-clients-3.0.0.rc.63 (line 64 of Makefile).
>> Any ideas?
>> Cheers,
>> Harry
>



More information about the argus mailing list