[Samba] idmap_ad compile problem

Shannon Johnson sjohnson at engr.psu.edu
Wed May 19 14:52:15 GMT 2004


I saw a message on this mailing list about compiling the idmap_ad.c,
back in October of last year... and I'm having the same problem... When
I try to compile it, the message I get is:

gcc -I/usr/include/linux -I/root/samba/samba-3.0.4/source/ubiqx
-I/root/samba/samba-3.0.4/source/popt
-I/root/samba/samba-3.0.4/source/smbwrapper
-I/root/samba/samba-3.0.4/source
-I/root/samba/samba-3.0.4/source/include         -Wall -g -shared -o
ad.so idmap_ad.c
In file included from /usr/include/sys/types.h:133,
                 from
/root/samba/samba-3.0.4/source/include/includes.h:76,
                 from idmap_ad.c:12:
/usr/include/linux/time.h:11: syntax error before "time_t"
/usr/include/linux/time.h:13: syntax error before '}' token
/usr/include/linux/time.h:19: syntax error before "time_t"
/usr/include/linux/time.h:45: field `it_interval' has incomplete type
/usr/include/linux/time.h:46: field `it_value' has incomplete type
/usr/include/linux/time.h:47: confused by earlier errors, bailing out

I tried the solution offered at the time, which was to add #include
"time.h" to the beginning of the idmap_ad.c file, but it didn't work.
Does anybody have any ideas on how to fix it?

Shannon

____________________________
 
Shannon Johnson
Network Support Specialist / Systems Administrator
Dept. of Mechanical and Nuclear Engineering
224 Reber Building
University Park, PA 16802
Phone: (814) 865-8267
____________________________
 



More information about the samba mailing list