Samba compile on RasPi2
Jelmer Vernooij
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:
make V=1
In particular, check that auth_sam_reply.o has that flag.
Cheers,
Jelmer
--
Jelmer Vernooij <jelmer at samba.org> - https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150216/ee5bd414/attachment.pgp>
More information about the samba-technical
mailing list