S4: Patches needed to compile current HEAD on OpenSolaris 09.05
Stefan (metze) Metzmacher
metze at samba.org
Fri Jul 31 05:52:11 MDT 2009
> Thanks... Yeah compilers can be tricky.... The functions (unreachable
> statment) should be refactored into singel return statments. There are loads
> of them in the s4 code. Oh well, when one get time.
The code fails when using "ccache gcc"
metze at SERNOX:~/devel/samba/4.0/master4-smb2/source4$ LANG=C make
idl_full && make
Rebuilding all idl files
gcc: ../librpc/idl/atsvc.idl: linker input file unused because linking
Failed to parse ../librpc/idl/atsvc.idl at ./../pidl/pidl line 608.
I'll try to add some smarter checks for the -xc flags next week.
> 2009/7/31 Stefan (metze) Metzmacher <metze at samba.org>
>> Hi Torgeir,
>>> Attached are fixes that retain the existing functionality while add
>>> for S4 to be able to compile/link and run make test. This is for files
>>> to 0004. 0005 -> removes some compiler warnings and are just cosmetic as
>>> 0001-0004 is a must have for compilation with Sun cc and Sun ld.
>> Thanks! I'll apply most of them today (after fixing some whitespaces).
>> But I'm not sure about the code unreachable ones, maybe other compilers
>> would complain, when a function exists without a 'return value;'.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
More information about the samba-technical