public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc linker error
@ 2006-06-29 12:26 rtariq
  0 siblings, 0 replies; 2+ messages in thread
From: rtariq @ 2006-06-29 12:26 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* gcc linker error
@ 2004-02-18 13:09 Aleksei Andevis
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksei Andevis @ 2004-02-18 13:09 UTC (permalink / raw)
  To: gcc-help

Hello All ,
I use MinGW32 with 3.3.1 gcc
and build Win32 DLL

What you think about this construction:

Class MyVariant have got:
- MyVariant& MyVariant::operator=(const MyVariant& var)

exist some another class , where MyVariant is - father (teplated classes)

template<enumFieldType typeID>
class TMyVariant : public MyVariant
....
...
typedef TMyVariant<eFieldType_Float>       CMyFloatVariant
All this stuff compiler,builded and resides in some DLL

----------------------------------------------------------------------------
-------------------------------------
and question:
Why contruction

MyVariant  myvar(....);
myvar = CMyFloatVariant(tag, poleVar->fltVal);

compiled ,BUT causing Linker error
 undefined reference to `MyVariant::operator=(MyVariant const&)

when I build this DLL with DLL , where is defined MyVariant and operator's



Best Regards

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-29 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-29 12:26 gcc linker error rtariq
  -- strict thread matches above, loose matches on Subject: below --
2004-02-18 13:09 Aleksei Andevis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).