[root@localhost sh4display]# sh4-linux-g++ -ldl -o sh4display .obj/release-static-emb-sh4/sh4display.o .obj/release-static-emb-sh4/main.o .obj/release-static-emb-sh4/moc_sh4display.o -L/data/home/kans/dwnlds/qtopiash4/qtopia-core-opensource-src-4.2.0/lib -lQtGui -L/data/home/kans/dwnlds/qtopiash4/qtopia-core-opensource-src-4.2.0/lib -lQtNetwork -lQtCore -lm -lglib-2.0 -ldl -limmsg -lpthread .obj/release-static-emb-sh4/main.o(.text+0xb0): In function `DispMessageProc(void*)': : undefined reference to `SMWP(int, int, int, ...)' .obj/release-static-emb-sh4/main.o(.text+0xb8): In function `DispMessageProc(void*)': : undefined reference to `SIMMsgGetParam(SIMMsg*, char*, int*)' .obj/release-static-emb-sh4/main.o(.text+0xc8): In function `DispMessageProc(void*)': : undefined reference to `FreeSIMMessage(SIMMsg*)' .obj/release-static-emb-sh4/main.o(.text+0x170): In function `StartDisplay(int, char**)': : undefined reference to `InitClient(char*)' .obj/release-static-emb-sh4/main.o(.text+0x184): In function `StartDisplay(int, char**)': : undefined reference to `RegisterXMLMsgProc(XMLReceive*, void (*)(void*))' collect2: ld returned 1 exit status