public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] fstream support conflicts w/ networking package
@ 2012-09-24 16:15 Ken Yee
  0 siblings, 0 replies; only message in thread
From: Ken Yee @ 2012-09-24 16:15 UTC (permalink / raw)
  To: ecos-discuss

Forgot to post about this problem/workaround that I hit a while back.
If you see an error like this:

.../ecos_install/include/ustl/config.h:96:52: error: declaration of C function ‘int ioctl(int, CYG_ADDRWORD, ...)’ conflicts with
.../ecos_install/include/sys/ioctl.h:86:5: error: previous declaration ‘int ioctl(int, long unsigned int, ...)’ here

It's because the fstream package conflicts w/ the networking package.
I tried doing all sorts of #undefs and #defines to try to work around it w/ no luck, so I ended up just removing the fstream package which luckily wasn't needed and is a bit of a memory hog anyways...

Now at least the ecos mailing list search engine will find it if anyone else hits it :-)

 ken

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-24 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 16:15 [ECOS] fstream support conflicts w/ networking package Ken Yee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).