guenter,
Thank you for the prompt response. I did my homework again to discover I had forgotten to use libPocoXML, the reason why the linker refused my InputSource creation line (undefined reference...).
However, the code you provided won't build in my dev environment. It throws:
In function `Poco::AtomicCounter::operator--()':
N:/Embedded/Projets/contrib/poco/1.4.4/include/Poco/AtomicCounter.h:275: undefined reference to `__sync_sub_and_fetch_4'
I got the same error when playing around with Logger samples from the PDF documentation.
Here's a part of the common.mk file that shows include paths, lib paths and libs for the code you provided:
- Code: Select all
EXTRA_INCVPATH+=N:/Embedded/Projets/contrib/poco/1.4.4/include
EXTRA_LIBVPATH+=N:/Embedded/Projets/contrib/poco/1.4.4/lib
LIBS+=PocoFoundation PocoXML PocoNet socket m
Any idea what could be missing?
I build for QNX Neutrino 6.4.1 in a cross-platform environment (Windows 7 32-bit host).
My system shows it's using gcc 4.3.3: 'C:\QNX641\host\win32\x86\etc\qcc\gcc\4.3.3'
I built the Poco libs natively on QNX 641 using gcc 4.3.3 without a single warning.
Thank you again
Martin