gcc-3.x fails on #include <sys/task.h> on Solaris 8, 9, 10, gcc-2.95.3 succeeds
"Stephen Ayotte" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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:
sayotte@host> 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"
sayotte@host>
Output from gcc-2.95.3:
sayotte@host> gcc test.c
sayotte@host>
(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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users