hello, I’m a newbie (I started to work under QNX a week ago), so sorry if my question seems stupid .
I have been given a code made by another student so it is supposed to work. In the terminal, I type : gcc name_of_folder.c -o new_folder.exe
The system seems to recognize the headers as I don’t have any error message for this. But I’ve a whole page of (for exemple):
/tmp/cc7bnv0t.o: In function ‘tran_inv’:
/tmp/cc7bnv0t.o(.text+0x8185): undefined reference to ‘atan2’
/tmp/cc7bnv0t.o(.text+0x81d2): undefined reference to ‘_Sin’
/tmp/cc7bnv0t.o(.text+0x8292): undefined reference to ‘sqrt’
Should I type others command to make the programm work ?
Can I find all these kinds of information somewhere ?