This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc linker error
- From: rtariq <rtariq at i2cinc dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 29 Jun 2006 05:26:31 -0700 (PDT)
- Subject: gcc linker error
i am building an application for ARM9 architecture i need some help
configuring gcc linker. i am getting this error:
/usr/lib/gcc-lib/arm-elf/3.4.0/../../../../arm-elf/bin/ld.exe -X -o
Release/bcode.out /usr/lib/gcc-lib/arm-elf/3.4.0/crti.o
/usr/lib/gcc-lib/arm-elf/3.4.0/crtbegin.o
/usr/lib/gcc-lib/arm-elf/3.4.0/../../../../arm-elf/lib/crt0.o
-L../../VerixVAps/ACT2000/OutPut/RV/Files/Static/Debug
-L../../VerixVAps/ACT2000/OutPut/RV/Files/ShLib1/Debug
-L../../VerixVAps/VFSDK/Lib -L/usr/lib/gcc-lib/arm-elf/3.4.0
-L/usr/lib/gcc-lib/arm-elf/3.4.0/../../../../arm-elf/lib Release/Barcode.o
-lstdc++ -lgcc -lc -lgcc /usr/lib/gcc-lib/arm-elf/3.4.0/crtend.o
/usr/lib/gcc-lib/arm-elf/3.4.0/crtn.o
Release/Barcode.o(.text+0x168): In function `main':
: undefined reference to `DEV_CONSOLE'
Release/Barcode.o(.text+0x198): In function `$a':
: undefined reference to `_sch2'
Release/Barcode.o(.text+0x308): In function `initCommPort':
: undefined reference to `ioctl'
Release/Barcode.o(.text+0x354): In function `initCommPort':
: undefined reference to `DEV_COM1'
Release/Barcode.o(.text+0x374): In function `$a':
: undefined reference to `_ctl2'
make: *** [Release/bcode.out] Error 1
--
View this message in context: http://www.nabble.com/gcc-linker-error-tf1867211.html#a5101784
Sent from the gcc - Help forum at Nabble.com.