Hi
Some help please
I am trying to crosscompile some code which works and compiles fine under the simulated Z environment for a qws frame buffer.
I am using the /opt/Qtopia and /opt/Embedix packages with scripts to set env
I get the errors below, malloc is such a basic function it must be quite simple.
By removing the libstdc++-libc6..... lib in my /usr/lib that libqpe uses under the x86 env, I can produce a similar
problem for compilation in the X86 qws environment
Therefore malloc is in libstdc++-libc

?
The version of libstdc++-libc in my /Embedix..... is libstdc++-libc6.3-2-2.10.0.so
This is as supplied and has worked until now
The version of libstdc++-libc in my /usr/lib..... is libstdc++-libc6.2-2.so.3
Have the malloc functions changed so much that there is incompatability between those libs?
My Z is a C860 with Sharp ROM so has libqte-2.3.2 and libqpe-1.5.0. Whatever I use must remain compatable to that
The output is:-
arm-linux-gcc -Wl,-rpath,/opt/Qtopia/sharp/lib,-rpath-link,/opt/Qtopia/sharp/lib -o zword defdlg.o dictionary_impl.o \
file.o filedlg.o formatter.o main.o mkdirdlg.o mkdiredit.o scqtfiledialog.o scqtfiledlg.o shc.o shcm.o spellengine.o \
utf8.o zword.o zwordview.o moc_defdlg.o moc_mkdirdlg.o moc_mkdiredit.o moc_scqtfiledialog.o moc_scqtfiledlg.o \
moc_zword.o -L/opt/Qtopia/sharp/lib -L/opt/Embedix/native/lib -lqpe
dictionary_impl.o: In function `__malloc_alloc_template<0>::_S_oom_malloc(unsigned int)':
dictionary_impl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x28): undefined reference to `ostream::operator<<(char const *)'
dictionary_impl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x2c): undefined reference to `endl(ostream &)'
dictionary_impl.o(.__malloc_alloc_template<0>::gnu.linkonce.t._S_oom_malloc(unsigned int)+0x58): undefined reference to `cerr'
collect2: ld returned 1 exit status
make: *** [zword] Error 1
Any ideas
yours hopefully
Melee