#25429 - Mephisto - Sun Aug 22, 2004 8:19 pm
this is my compilation lines :
and it says :
undefined reference to 'Fonction'
'Fonction' is included in lib.a
and 'Fonction' is the correct name.
Even with prototypes before 'Fonction' calling, it says that.
what's wrong ?
edit: sorry i forgot test.elf ... problem still on
Last edited by Mephisto on Sun Aug 22, 2004 9:16 pm; edited 1 time in total
Code: |
gcc -c main.c
gcc -o test.elf lib.a main.o |
and it says :
undefined reference to 'Fonction'
'Fonction' is included in lib.a
and 'Fonction' is the correct name.
Even with prototypes before 'Fonction' calling, it says that.
what's wrong ?
edit: sorry i forgot test.elf ... problem still on
Last edited by Mephisto on Sun Aug 22, 2004 9:16 pm; edited 1 time in total