2007-12-04 04:17:50     Compilation Error

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2007-12-04 04:17:50     Compilation Error

kanal kannan (INDIA)

Message: 48109    hi,

i am working in Uclinux environment,i have compiled the DCT code by using this make file .

 

all:

        bfin-uclinux-g++ -Wno-deprecated  ADV7183_reset.cpp basic.cpp bitstrm.cpp blkenc.cpp block.cpp cae.cpp dct.cpp encoder.cpp errenc.cpp error.cpp geom.cpp grayc.cpp grayf.cpp grayi.cpp huffman.cpp Init_SDRAM.cpp Interrupt_Init.cpp Interrupt_Service.cpp L3_SDRAM.cpp main.cpp mbinterlace.cpp mb.cpp mbenc.cpp mc.cpp mcenc.cpp mcpad.cpp mode.cpp motest.cpp mv.cpp mvenc.cpp padenc.cpp sesenc.cpp set_PLL.cpp PPI0_Init.cpp shape.cpp shpenc.cpp spt.cpp sptenc.cpp svd.cpp tps_bfshape.cpp tps_enhcbuf.cpp typeapi.cpp vop.cpp  vopmbenc.cpp vopseenc.cpp vopses.cpp warp.cpp yuvac.cpp yuvai.cpp 2>e

 

clean:

        rm -f $(EXEC) *.elf *.gdb *.c

 

but i am getting following error

/tmp/cchzRwf0.o: In function `InitInterrupts_coreA()':

Interrupt_Init.cpp:(.text+0x10): undefined reference to `_register_handler'

collect2: ld returned 1 exit status

 

how could i solve this problem,any one giude me in this regard.

 

kannan

 

QuoteReplyEditDelete

 

 

2007-12-04 04:31:27     Re: Compilation Error

Yi Li (CHINA)

Message: 48111    Hi,

 

You need to link your program to the object file or library where "_register_handler" is defined.

QuoteReplyEditDelete

 

 

2007-12-04 05:42:14     Re: Compilation Error

kanal kannan (INDIA)

Message: 48121    hi ,

thanks for your reply, i have searched  the register_handler function in hole uclinux dist.but there is no object file and function definition.how could i link that function.

 

kannan

QuoteReplyEditDelete

 

 

2007-12-04 09:40:54     Re: Compilation Error

Robin Getz (UNITED STATES)

Message: 48139    Kanal:

 

I thought that register_handler was a VDSP function - not a gcc/Linux one.

 

-Robin

QuoteReplyEditDelete

 

 

2007-12-04 10:00:28     Re: Compilation Error

Mike Frysinger (UNITED STATES)

Message: 48144    you cannot take code designed to run under VDSP and simply compile it and expect it to work under Linux.  you need to spend time porting it from one environment to the other.

QuoteReplyEditDelete

 

 

2008-07-14 10:07:23     Re: Compilation Error

Pranay Upadhyay (INDIA)

Message: 58761   

 

Hello kanal,

 

   I am getting the same error during generating the elf file. I am doing this for audio codec.Please tell me how did you solve that problem.How can we use the ISR in the creating elf file.Please give me some suggestion for this.

 

  -Regards

 

Pranay

Attachments

    Outcomes