build fails on native x86_64 on utxent

Carmelo AMOROSO carmelo.amoroso at st.com
Fri Nov 26 15:38:12 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/26/2010 9:22 AM, Carmelo Amoroso wrote:
> On 17/11/10 17:42, Carmelo AMOROSO wrote:
>  > On 11/17/2010 5:35 PM, Natanael Copa wrote:
>  >> On Tue, Nov 16, 2010 at 9:10 PM, Carmelo Amoroso <carmelo73 at gmail.com> wrote:
>  >> > On 16/11/10 13:16, Natanael Copa wrote:
>  >> >> Hi,
>  >> >>
>  >> >> I'm trying to bootstrap a native uclibc x86_64 environment. Seems like
>  >> >> the recent utmpx commits breaks 64 bit.
>  >> >>
>  >> >> CC libc/misc/utmp/utxent.os
>  >> >> libc/misc/utmp/utxent.c: In function 'getutmp':
>  >> >> libc/misc/utmp/utxent.c:74:14: error: incompatible types when
>  >> >> assigning to type 'struct <anonymous>' from type 'const struct
>  >> >> <anonymous>'
>  >> >> libc/misc/utmp/utxent.c: In function 'getutmpx':
>  >> >> libc/misc/utmp/utxent.c:100:15: error: incompatible types when
>  >> >> assigning to type 'struct <anonymous>' from type 'const struct
>  >> >> <anonymous>'
>  >> >> make: *** [libc/misc/utmp/utxent.os] Error 1
>  >> >>
>  >> >>
>  >> >
>  >> >
>  >> > Hi Natanael,
>  >> > I'll have a look asap.
>  >> >
>  >> > Could you try disabling the support and see how it goes ?
>  >
>  >> Then it compiles successfully.
>  >
>  > Fine !
>  >
>  > Cheers,
>  > Carmelo
>  >
> 
> Natanael,
> I was able to reproduce on my 64bits host, working to fix.
> 
> carmelo
> 

Well,
I figured out where the problem and had a fix. I'm pretty sure that
glibc has the same issue.

Carmelo

>  >> --
>  >> Natanael Copa
>  >> _______________________________________________
>  >> uClibc mailing list
>  >> uClibc at uclibc.org
>  >> http://lists.busybox.net/mailman/listinfo/uclibc
>  >
>  >
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzv1GQACgkQoRq/3BrK1s/nugCeP34aIMsSNOKunJTNi6U37Md3
wKkAniuVmEjOqNy2Tm/QLfoXsD7UIDAP
=Y/G0
-----END PGP SIGNATURE-----


More information about the uClibc mailing list