Which file to connect, so that you can use the chop function in the C program. At the moment the compiler produces:
pinger.c:(.text+0x5ac): undefined reference to 'chop'
.
Which file to connect, so that you can use the chop function in the C program. At the moment the compiler produces:
pinger.c:(.text+0x5ac): undefined reference to 'chop'
.
undefined reference is a linker error. Apparently, you are using a function from the library that does not link to the final code. It is necessary library in which this function is implemented to connect.
Is there such a function in standard C libraries? It seems to me that no. And it showed.
Source: https://ru.stackoverflow.com/questions/11062/
All Articles