This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]