J
jenea
HI!
I write a little test program.
In witch I use getopt_long function...
I included unstd.h , optget.h , stdio.h and stdlib.h
when i try to link the program with gcc -o result main.o
( within a makefile , i.e I run make)
it says
tmp/ccGfK1gp.o(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [run] Error 1
As result it doesn't generate binary file
When I remove call of getopt_long functions the problem disapears...
Realy strange!...
Any ideas ?
10x in advance .
I write a little test program.
In witch I use getopt_long function...
I included unstd.h , optget.h , stdio.h and stdlib.h
when i try to link the program with gcc -o result main.o
( within a makefile , i.e I run make)
it says
tmp/ccGfK1gp.o(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
make: *** [run] Error 1
As result it doesn't generate binary file
When I remove call of getopt_long functions the problem disapears...
Realy strange!...
Any ideas ?
10x in advance .