Linker-Error! Need help ...
Posted: Mon Dec 22, 2003 5:37 am
Hi there.
I'm writing a little kernel in c++.
Compiling is OK, (Sorry for my english)
but when I run
"ld -e _start -Ttext 100000 --oformat=elf32-i386 -o kernel *.o"
I get the message:
istream.o(.text+0x227): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__dso_handle'
istream.o(.text+0x233): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__cxa_atexit'
istream.o(.text+0xa9): In function `__static_initialization_and_destruction(int,int)`:
o undefined reference to `__dso_handle'
ostream.o(.text+0xb5): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__cxa_atexit'
Can someone help me???????????? :'( :'( :'(
I'm writing a little kernel in c++.
Compiling is OK, (Sorry for my english)
but when I run
"ld -e _start -Ttext 100000 --oformat=elf32-i386 -o kernel *.o"
I get the message:
istream.o(.text+0x227): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__dso_handle'
istream.o(.text+0x233): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__cxa_atexit'
istream.o(.text+0xa9): In function `__static_initialization_and_destruction(int,int)`:
o undefined reference to `__dso_handle'
ostream.o(.text+0xb5): In function `__static_initialization_and_destruction(int,int)`:
: undefined reference to `__cxa_atexit'
Can someone help me???????????? :'( :'( :'(