Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

crypt

Name: OP !Y/3coOkie2 2010-11-10 7:12

Programming some simple shit in C; compiling gives:
undefined reference to `crypt'

Adding -lcrypt via terminal solves it, but I want to find the real problem here, so that I can make it compile normally in Eclipse as well. Any ideas? I have the lib and all, so it's not too trivial.

tl;dr crypt isn't properly recognized or something, what do?

Name: OP !Y/3coOkie2 2010-11-10 7:34

>>4
hardcoded ld shit
What?

use different library or linker
I might end up doing so, but the fact that I can't get something in the C99 standard lib to work is kinda pissing me off. Any Eclipse users know how to bypass the default build commands to include all necessary opts?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List