Just a note for anyone having trouble building on these platforms, a
brief test program shows failure on this include file (which is
included for ucd-snmp, among others I'm sure). Here's my test program:
#include <sys/task.h>

int main(int argc, char** argv)
{
        return 0;
}

Output from gcc-3.3.2:
[EMAIL PROTECTED]> gcc3 test.c
In file included from test.c:1:
/usr/include/sys/task.h:59: error: parse error before "settaskid"
/usr/include/sys/task.h:59: error: parse error before "uint_t"
/usr/include/sys/task.h:60: error: parse error before "gettaskid"
[EMAIL PROTECTED]>

Output from gcc-2.95.3:
[EMAIL PROTECTED]> gcc test.c
[EMAIL PROTECTED]>
(it succeeded)

I succeeded building all of net-snmp-5.4 using gcc-2.95.3 without
further problems.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to