This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crypt()


The wrong order, it should be

gcc -o file file.c  -lcrypt  

Basically, the library switch should be after the usage of functions
in it.. 

        /Andy

| > 
| > gcc -lcrypt file.c -o file
| > 
| > unresolved linker error (crypt undefined?)

-- 
 The eye of the beholder rests on the beauty!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]