[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-620827 ] Solaris: Errors regarding fcn inlining
From:       noreply () sourceforge ! net
Date:       2002-10-10 10:22:24
[Download RAW message or body]

Bugs item #620827, was opened at 2002-10-09 16:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=620827&group_id=12694

Category: library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 9
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: John Naylon (jbpn)
Summary: Solaris: Errors regarding fcn inlining

Initial Comment:
When compiling net-snmp 5.0.6 under Solaris 8 using the
Solaris unbundled C compiler, I get the following
errors:

cc -g -I/usr/krb5/include -Dsolaris2 -I../../include
-I../../../net-snmp-5.0.6/include -I. -I.. -I../..
-I../../../net-snmp-5.0.6/agent/helpers
-I../../../net-snmp-5.0.6/agent/helpers/..
-I../../../net-snmp-5.0.6/agent/helpers/../mibgroup
-I../../../net-snmp-5.0.6/agent/helpers/../..
-I../../../net-snmp-5.0.6/agent/helpers/../../snmplib
-c ../../../net-snmp-5.0.6/agent/helpers/table_array.c
-o table_array.o
"../../../net-snmp-5.0.6/agent/helpers/table_array.c",
line 489: reference to static variable "find_next_row"
in inline extern function
"../../../net-snmp-5.0.6/agent/helpers/table_array.c",
line 509: reference to static variable "build_new_oid"
in inline extern function
"../../../net-snmp-5.0.6/agent/helpers/table_array.c",
line 646: reference to static variable
"CONTAINER_INSERT" in inline extern function
"../../../net-snmp-5.0.6/agent/helpers/table_array.c",
line 822: reference to static variable
"netsnmp_agent_get_list_data" in inline extern function
"../../../net-snmp-5.0.6/agent/helpers/table_array.c",
line 833: reference to static variable
"netsnmp_create_data_list" in inline extern function

I don't know if this is something related tothe
function inlining, a bug in the Solaris C compiler, or
what.  I was able to fix it by removing all "inline"
referenes in that file. 

----------------------------------------------------------------------

>Comment By: John Naylon (jbpn)
Date: 2002-10-10 11:22

Message:
Logged In: YES 
user_id=93926

I've removed the inlines from the CVS source.  Thanks for
the bug report.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=620827&group_id=12694


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic