2010-07-07 12:17:44     Problem compiling gdbproxy

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

2010-07-07 12:17:44     Problem compiling gdbproxy

Sarath Chandra (INDIA)

Message: 91007   

 

Hi,

 

I am new to this forum and to uClinux in general. I cannot succesfully compile gdbproxy. this is the message i get. can somebody tell me whats wrong with this?

 

make  all-recursive

make[1]: Entering directory `/root/gdbproxy'

Making all in gnulib/lib

make[2]: Entering directory `/root/gdbproxy/gnulib/lib'

make  all-am

make[3]: Entering directory `/root/gdbproxy/gnulib/lib'

make[3]: Nothing to be done for `all-am'.

make[3]: Leaving directory `/root/gdbproxy/gnulib/lib'

make[2]: Leaving directory `/root/gdbproxy/gnulib/lib'

make[2]: Entering directory `/root/gdbproxy'

gcc  -g -O2 -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual

-Wcast-align -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes

-Wmissing-declarations -Wnested-externs -Winline -Wno-unused-function     -o

gdbproxy  copying.o init.o remote.o gdbproxy.o rpmisc.o serial.o

target_bfin_new.o  ../jtag/src/cmd/libcmd.a ../jtag/src/tap/libtap.a

../jtag/src/part/libpart.a ../jtag/src/flash/libflash.a

../jtag/src/tap/libtap.a ../jtag/src/flash/libflash.a ../jtag/src/bus/libbus.

a

../jtag/src/bfin/libbfin.a ../jtag/src/bsdl/libbsdl.a ../jtag/src/svf/libsvf.

a

../jtag/src/lib/libjtaglib.a -lm ./gnulib/lib/libgnu.a -lrt  -lreadline  -

lusb 

../jtag/src/cmd/libcmd.a(bfin.o): In function `cmd_bfin_run':

/root/jtag/src/cmd/bfin.c:343: warning: the use of `tmpnam' is dangerous,

better use `mkstemp'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_close':

/root/jtag/src/tap/usbconn/libftdi.c:497: undefined reference to

`ftdi_disable_bitbang'

/root/jtag/src/tap/usbconn/libftdi.c:498: undefined reference to

`ftdi_usb_close'

/root/jtag/src/tap/usbconn/libftdi.c:499: undefined reference to

`ftdi_deinit'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_common_open':

/root/jtag/src/tap/usbconn/libftdi.c:299: undefined reference to

`ftdi_usb_open_desc'

/root/jtag/src/tap/usbconn/libftdi.c:302: undefined reference to

`ftdi_usb_open_desc'

/root/jtag/src/tap/usbconn/libftdi.c:306: undefined reference to

`ftdi_get_error_string'

/root/jtag/src/tap/usbconn/libftdi.c:307: undefined reference to

`ftdi_deinit'

../jtag/src/tap/libtap.a(libftdi.o): In function `seq_purge':

/root/jtag/src/tap/usbconn/libftdi.c:329: undefined reference to

`ftdi_usb_purge_buffers'

/root/jtag/src/tap/usbconn/libftdi.c:331: undefined reference to

`ftdi_read_data'

/root/jtag/src/tap/usbconn/libftdi.c:332: undefined reference to

`ftdi_get_error_string'

../jtag/src/tap/libtap.a(libftdi.o): In function `seq_reset':

/root/jtag/src/tap/usbconn/libftdi.c:365: undefined reference to

`ftdi_usb_reset'

/root/jtag/src/tap/usbconn/libftdi.c:366: undefined reference to

`ftdi_get_error_string'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_flush':

/root/jtag/src/tap/usbconn/libftdi.c:80: undefined reference to

`ftdi_write_data'

/root/jtag/src/tap/usbconn/libftdi.c:109: undefined reference to

`ftdi_read_data'

/root/jtag/src/tap/usbconn/libftdi.c:111: undefined reference to

`ftdi_get_error_string'

/root/jtag/src/tap/usbconn/libftdi.c:81: undefined reference to

`ftdi_get_error_string'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_read':

/root/jtag/src/tap/usbconn/libftdi.c:162: undefined reference to

`ftdi_read_data'

/root/jtag/src/tap/usbconn/libftdi.c:163: undefined reference to

`ftdi_get_error_string'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_mpsse_open':

/root/jtag/src/tap/usbconn/libftdi.c:446: undefined reference to

`ftdi_set_latency_timer'

/root/jtag/src/tap/usbconn/libftdi.c:449: undefined reference to

`ftdi_disable_bitbang'

/root/jtag/src/tap/usbconn/libftdi.c:452: undefined reference to

`ftdi_set_bitmode'

/root/jtag/src/tap/usbconn/libftdi.c:455: undefined reference to

`ftdi_usb_reset'

/root/jtag/src/tap/usbconn/libftdi.c:473: undefined reference to

`ftdi_usb_reset'

/root/jtag/src/tap/usbconn/libftdi.c:474: undefined reference to

`ftdi_get_error_string'

/root/jtag/src/tap/usbconn/libftdi.c:479: undefined reference to

`ftdi_usb_close'

/root/jtag/src/tap/usbconn/libftdi.c:480: undefined reference to

`ftdi_deinit'

/root/jtag/src/tap/usbconn/libftdi.c:456: undefined reference to

`ftdi_get_error_string'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_open':

/root/jtag/src/tap/usbconn/libftdi.c:387: undefined reference to

`ftdi_disable_bitbang'

/root/jtag/src/tap/usbconn/libftdi.c:390: undefined reference to

`ftdi_set_latency_timer'

/root/jtag/src/tap/usbconn/libftdi.c:402: undefined reference to

`ftdi_set_baudrate'

/root/jtag/src/tap/usbconn/libftdi.c:403: undefined reference to

`ftdi_get_error_string'

/root/jtag/src/tap/usbconn/libftdi.c:408: undefined reference to

`ftdi_usb_close'

/root/jtag/src/tap/usbconn/libftdi.c:409: undefined reference to

`ftdi_deinit'

../jtag/src/tap/libtap.a(libftdi.o): In function `usbconn_ftdi_connect':

/root/jtag/src/tap/usbconn/libftdi.c:260: undefined reference to `ftdi_init'

collect2: ld returned 1 exit status

make[2]: *** [gdbproxy] Error 1

make[2]: Leaving directory `/root/gdbproxy'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/root/gdbproxy'

make: *** [all] Error 2

QuoteReplyEditDelete

 

 

2010-07-07 12:58:55     Re: Problem compiling gdbproxy

Robin Getz (UNITED STATES)

Message: 91008   

 

Sarath:

 

Are you using the default build script?

 

-Robin

Attachments

    Outcomes