This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
new_net compilation failure
- From: Jani Monoses <jani at iv dot ro>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 10 Jul 2002 14:08:37 +0000
- Subject: [ECOS] new_net compilation failure
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