Minor problem in Samba 2.2.0

Bruce Bales bbales at kscable.com
Sun Apr 29 21:37:42 GMT 2001


I believe there is an error in the /in.h file as it comes with the Samba
2.2.0 download.  I am not a programmer and don't know how to pass the
information to the Samba group.

I got an error during compile of Samba 2.2.0.

compiling printing/print_generic.c
    in file included from include/includes.h: 198
                    from include/printing.h: 22
                    from printing/print-generic.c: 22
/usr/include/netinet/in.h: 237: parse error before '__hostshort'
make: ***[printing/print_generic.o] error 1

I didn't understand what this meant, (not a programmer) but finally
discovered line 237 in /in.h read:
    extern uint16_t htons __P ((uintq6_t __hostshort

Changed the "uintq6_t" to "uint16_t" and it seemed to work - the files
are there now.
bruce bales





More information about the samba mailing list