Compiling client PAM files on Mac OS

Nicolas Goutte nicolas.goutte at extragroup.de
Tue Jul 15 10:02:22 CEST 2008


Am 14.07.2008 um 17:09 schrieb Paul Goodman:

> Sorry, but this doesn't really help me very much. Are you saying  
> that because Mac OS is neither BSD nor GNU, the client files cannot  
> be compiled? If there is a way to get them compiled, what is it?

Sorry, I cannot help more, as  neither I am the developer who worte  
the code nor I have time to look at the problem.

I have only tried to give hints to where the problem could be.

I am sorry if that is too "short" for you.

Have a nice day!

>
> Nicolas Goutte wrote:
>> 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
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/ 
>> list/users.html
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ 
> users.html

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