Compiling client PAM files on Mac OS
Nicolas Goutte
nicolas.goutte at extragroup.de
Thu Jul 10 18:42:50 CEST 2008
Am 10.07.2008 um 18:28 schrieb Paul Goodman:
> Does anyone have some hacks to enable a clean compile on Mac OS X?
> When I try to run make, I get the following compile errors:
>
> cc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o
> pam_radius_auth.c: In function ‘get_random_vector’:
> pam_radius_auth.c:358: error: storage size of ‘tz’ isn’t known
> pam_radius_auth.c:363: warning: implicit declaration of function
> ‘gettimeofday’
This would suggests that sys/time.h is not included.
> pam_radius_auth.c:358: warning: unused variable ‘tz’
> pam_radius_auth.c: In function ‘talk_radius’:
> pam_radius_auth.c:886: warning: pointer targets in passing argument
> 6 of ‘recvfrom’ differ in signedness
> pam_radius_auth.c: In function ‘pam_sm_authenticate’:
> pam_radius_auth.c:1102: warning: assignment from incompatible
> pointer type
> make: *** [pam_radius_auth.o] Error 1
>
> Is there something besides the X Code that I need to have installed?
Probably this is more a configuration problem, where MacOS is not BSD
or even less GNU.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/
> users.html
Have a nice day!
Nicolas Goutte
extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany
Geschäftsführer: Stephan Mönninghoff, Hans Martin Kern, Tilman Haerdle
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841
More information about the Freeradius-Users
mailing list