cc -lelf f.c
f.c: In function ‘main’:
f.c:35:9: warning: assignment makes integer from pointer without a cast [enabled by default]
/tmp/ccPed1PL.o: In function `main':
f.c:(.text+0x4d): undefined reference to `elf_begin'
collect2: ld returned 1 exit status
cc f.c -lelf
f.c: In function ‘main’:
f.c: In function ‘main’:
f.c:35:9: warning: assignment makes integer from pointer without a cast [enabled by default]
/tmp/ccPed1PL.o: In function `main':
f.c:(.text+0x4d): undefined reference to `elf_begin'
collect2: ld returned 1 exit status
cc f.c -lelf
f.c: In function ‘main’:
f.c:35:9: warning: assignment makes integer from pointer without a cast [enabled by default]
make --just-print