[RTEMS Project] #4882: mvme2703 legacy network build failure
RTEMS trac
trac at rtems.org
Tue Mar 21 04:56:36 UTC 2023
#4882: mvme2703 legacy network build failure
-----------------------------+--------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: network/legacy | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
-----------------------------+--------------------
Building `powerpc/mvme2703` BSP with the legacy networking fails with:
{{{
../../netinet/in.c: In function 'in_canforward':
../../netinet/in.c:117:13: warning: implicit declaration of function
'IN_CLASSA'; did you mean 'IN_BADCLASS'? [-Wimplicit-function-declaration]
117 | if (IN_CLASSA(i)) {
| ^~~~~~~~~
| IN_BADCLASS
../../netinet/in.c:118:27: error: 'IN_CLASSA_NET' undeclared (first use in
this function)
118 | net = i & IN_CLASSA_NET;
| ^~~~~~~~~~~~~
../../netinet/in.c:118:27: note: each undeclared identifier is reported
only once for each function it appears in
../../netinet/in.c:119:41: error: 'IN_LOOPBACKNET' undeclared (first use
in this function); did you mean 'IN_LOOPBACK'?
119 | if (net == 0 || net == (IN_LOOPBACKNET <<
IN_CLASSA_NSHIFT))
| ^~~~~~~~~~~~~~
| IN_LOOPBACK
../../netinet/in.c:119:59: error: 'IN_CLASSA_NSHIFT' undeclared (first use
in this function)
119 | if (net == 0 || net == (IN_LOOPBACKNET <<
IN_CLASSA_NSHIFT))
|
^~~~~~~~~~~~~~~~
../../netinet/in.c: In function 'in_ifinit':
../../netinet/in.c:495:34: error: 'IN_CLASSA_NET' undeclared (first use in
this function)
495 | ia->ia_netmask = IN_CLASSA_NET;
| ^~~~~~~~~~~~~
../../netinet/in.c:496:18: warning: implicit declaration of function
'IN_CLASSB'; did you mean 'IN_BADCLASS'? [-Wimplicit-function-declaration]
496 | else if (IN_CLASSB(i))
| ^~~~~~~~~
| IN_BADCLASS
../../netinet/in.c:497:34: error: 'IN_CLASSB_NET' undeclared (first use in
this function)
497 | ia->ia_netmask = IN_CLASSB_NET;
| ^~~~~~~~~~~~~
../../netinet/in.c:499:34: error: 'IN_CLASSC_NET' undeclared (first use in
this function)
499 | ia->ia_netmask = IN_CLASSC_NET;
| ^~~~~~~~~~~~~
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4882>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list