From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Cc: cprice@missing.its.to
Subject: Re: shell tools for addding/deleting users?
Date: Sat, 9 Jan 1999 14:46:02 -0700 (MST) [thread overview]
Message-ID: <199901092146.OAA00860@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <Pine.LNX.3.95.990109113813.27268A-100000@missing.its.to> from "Chris Price" at Jan 9, 99 12:15:55 pm
Chris Price wrote:
>
>
> and tried
> to compile. Here's where I had problems:
>
> adduser.o: In function `main':
> /root/adduser-shadow-1.6/adduser.c:690: undefined reference to `crypt'
> /root/adduser-shadow-1.6/adduser.c:690: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [adduser] Error 1
...
> Any input you can provide is really appreciated...
Add '-lcrypt' to a list of libraries you are linking. This is not
Alpha; this is glibc on any platform and the real reason behind
this are ITAR regulations we all love so deeply.
An old Slackware distribution was using libc5, where crypt functions
were not split into a separate library, and yes, C-standard
**requires** for 'main()' to return 'int'.
Michal
prev parent reply other threads:[~1999-01-09 22:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-09 18:15 shell tools for addding/deleting users? Chris Price
1999-01-09 21:46 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox