Skip to content

Instantly share code, notes, and snippets.

@QuinnyPig
Created July 12, 2015 21:17
Show Gist options
  • Save QuinnyPig/4d6fc4c3da055acf117a to your computer and use it in GitHub Desktop.
Save QuinnyPig/4d6fc4c3da055acf117a to your computer and use it in GitHub Desktop.
cquinn@Quinnertube(master|✚1…) ~/src/moreutils % make 4 13838 14:16:30 Sun 07-12-2015
cc -O2 -g -Wall ifdata.c -o ifdata
ifdata.c:133:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
error(EXIT_FAILURE, 0,
^
1 warning generated.
Undefined symbols for architecture x86_64:
"_error", referenced from:
_do_socket_ioctl in ifdata-0e01ad.o
_please_do in ifdata-0e01ad.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ifdata] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment