Samba compile on RasPi2
jelmer at samba.org
Sun Feb 15 16:02:26 MST 2015
On Sun, Feb 15, 2015 at 05:14:43PM -0500, Jed Evnull wrote:
> I'm attempting a samba-3.6.24/source3 compile with the new Raspberry Pi 2,
> a quad-core ARM Cortex-A7 CPU using flags:
> export CC=gcc
> export CFLAGS="-mfloat-abi=hard -mfpu=vfp"
> I'm crashing with:
> error: bin/smbd uses VFP register
> arguments, ../auth/auth_sam_reply.o does not
That suggests the -mfpu=vfp flag doesn't get picked up somewhere.
Your extra cflags should appear in the CFLAGS field in bin/config.log.
You can see what exact commands Samba runs by building with:
In particular, check that auth_sam_reply.o has that flag.
Jelmer Vernooij <jelmer at samba.org> - https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: Digital signature
More information about the samba-technical