Problem building argus in OpenBSD 4.1
Pablo J. Rebollo-Sosa
Pablo.Rebollo at ece.uprm.edu
Sun Aug 19 20:58:43 EDT 2007
Carter,
I downloaded both argus and argus clients later today. I found that
argus (8/19/2007 4:52:00 PM) compile without any problems. Now the
problem is with argus-clients (8/18/2007 11:13:00 AM). Because of the
problem I followed your recommendation. By removing .threads,
argus-clients compiled.
Attached you will find the config.log before removing .threads.
Pablo
Carter Bullard wrote:
> Hey Pablo,
> The error is coming from the compiler not finding the POSIX THREADS
> include files, even though the POSIX defines are there. If you remove the
> .threads tag file in the root directory and start over (make clobber;
> ./configure;
> make) , it should compile fine.
>
> So, could you email your ./config.log file, so I can see where the
> ./configure
> failed, it should have caught whether pthreads is there or not.
>
> Carter
>
> Pablo J. Rebollo-Sosa wrote:
>> Hi,
>>
>> I'm having problems when compiling argus and argus clients (8/18/2007
>> code) in OpenBSD 4.1. Here is the error:
>>
>> ....
>> making in ./clients
>> gcc -O3 -I. -I../include -I../common -DPACKAGE_NAME=\"\"
>> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
>> -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1
>> -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1
>> -DHAVE_SETLINEBUF=1 -DHAVE_SETENV=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1
>> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
>> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_SYS_SOCKIO_H=1
>> -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1
>> -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SRANDOMDEV=1
>> -DARGUS_CURSES=1 -DARGUS_NCURSES_H=1 -DARGUS_READLINE=1
>> -DARGUS_READLINE_EVENT_HOOK=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -c
>> ./ra.c
>> gcc -O3 -o ../bin/ra ra.o ../lib/argus_parse.a ../lib/argus_common.a
>> ../lib/argus_client.a -lm -lpthread -lreadline -ltermcap
>> ../lib/argus_parse.a(argus_main.o)(.text+0x21b0): In function
>> `ArgusParseArgs':
>> : warning: sprintf() is often misused, please use snprintf()
>> ../lib/argus_parse.a(argus_main.o)(.text+0x131): In function `main':
>> : undefined reference to `sched_get_priority_min'
>> ../lib/argus_parse.a(argus_main.o)(.text+0x149): In function `main':
>> : undefined reference to `sched_get_priority_max'
>> collect2: ld returned 1 exit status
>> *** Error code 1
>>
>> Stop in /root/argus-clients-3.0.0.rc.48/clients (line 87 of Makefile).
>> *** Error code 1
>>
>> Stop in /root/argus-clients-3.0.0.rc.48 (line 64 of Makefile).
>>
>> Pablo
>>
>>
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20070819/880b0d66/attachment.ksh>
More information about the argus
mailing list