hi iam porting an application in c++ in windows to rtlinux ... in short the application is program listens to serial port when it receives some data it process data and send the data back to serial port ...so i modified the testcom.c (its in drivers/rt_com/)to my need and named it as main1.cpp and i made a Makefile which looks like this.. all: app.o rtl_cpp.o include ../rtl.mk CRTBEGIN=`g++ -print-file-name=crtbegin.o` CRTEND=`g++ -print-file-name=crtend.o` app.o: main1.o aach.o Bsch.o ch_coder_fns.o coder_decoder_interface_fns.o common_fns.o DAlert.o DCallProceeding.o DConnect.o DDisconnect.o DlocationUpdateAccept.o downlink.o DRelease.o DSetup.o DStatus.o DTxCeased.o DTxGranted.o macpdu.o misc.o Random_ack.o Syncdownlink.o tch.o trainingSequence.o $(LD) -r -o app.o $(CRTBEGIN) main1.o aach.o Bsch.o ch_coder_fns.o coder_decoder_interface_fns.o common_fns.o DAlert.o DCallProceeding.o DConnect.o DDisconnect.o DlocationUpdateAccept.o downlink.o DRelease.o DSetup.o DStatus.o DTxCeased.o DTxGranted.o macpdu.o misc.o Random_ack.o Syncdownlink.o tch.o trainingSequence.o$(CRTEND) clean: rm -f *.o include $(RTL_DIR)/Rules.make // is there any thing wrong with the Makefile ... all the files above in the make file have their own .h and .cpp files... main1.cpp is my main program which uses all the files which contain respective classes.... when compiling iam getting errors ... iam not sure about whether they are due to my makefile or my program.... can any body spare some time any look into my makefile and tell me whether it needs any modification... thanks in advance bye Niranjan _______________________________________________ Rtl mailing list [EMAIL PROTECTED] http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl