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???????????? :'( :'( :'(
Linker-Error! Need help ...
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Linker-Error! Need help ...
well, what is istream.o ? something you've designed (that comes from your sourcecode) or something that comes from some place you do not know about (actually, from the compiler's standard libraries) ?
It looks to me that you've been forgetting a few things like making your code standalone, not using standard library stuff, etc.
It looks to me that you've been forgetting a few things like making your code standalone, not using standard library stuff, etc.