[ECOS] new_net compilation failure

Jani Monoses jani@iv.ro
Wed Jul 10 04:08:00 GMT 2002


now that sys/param.h includes errno.h which #defines errno
net/bsd_tcpip/src/sys/netinet/in_pcb.c won't build because some functions
have errno as a parameter name.That expands to the errno define and gives
several syntax errors.

I am just using the plain new_net template with no further config.

The solution would be either reverting the change and including errno.h only in the two files which needed
it or renaming the parameters.

the functions are in_rtchange & in_pcnbotifyall
Jani.

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list