This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
fstream support conflicts w/ networking package
- From: "Ken Yee" <kenkyee at excite dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc:
- Date: Mon, 24 Sep 2012 12:15:08 -0400
- Subject: [ECOS] fstream support conflicts w/ networking package
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