I have a problem with ubuntu 8.10, i have downgraded to gcc4.1, and I have still a problem :

| dbus-sysdeps-unix.c: In function '_dbus_read_credentials_unix_socket':
| dbus-sysdeps-unix.c:996: error: storage size of 'cr' isn't known
| dbus-sysdeps-unix.c:999: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness
| dbus-sysdeps-unix.c:996: warning: unused variable 'cr'
| dbus-sysdeps-unix.c: In function 'split_paths_and_append':
| dbus-sysdeps-unix.c:2550: warning: passing argument 1 of '_dbus_string_init_const' discards qualifiers from pointer target type
| dbus-sysdeps-unix.c: In function '_dbus_get_standard_session_servicedirs':
| dbus-sysdeps-unix.c:2719: warning: passing argument 1 of '_dbus_string_init_const' discards qualifiers from pointer target type
| make[3]: *** [dbus-sysdeps-unix.lo] Error 1
| make[3]: Leaving directory `/home/batoub/gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/batoub/gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/batoub/gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/batoub/gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/temp/log.do_compile.30904
NOTE: package dbus-native-1.0.1-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package dbus-native-1.0.1: failed
ERROR: Build of /home/batoub/gumstix/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb do_compile failed
ERROR: Task 1365 (/home/batoub/gumstix/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 367 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/batoub/gumstix/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb' failed

It's the revision 318.

If somebody could help me :)

Thank you !

2008/12/26 Scott Harris <scottrharris@gmail.com>
I'll give this a try and report back.

Thanks,
-Scott


On Wed, Dec 24, 2008 at 10:40 PM, Grahame Jordan <gbj@theforce.com.au> wrote:
Hi,

I can confirm this.

apt-get install gcc-4.2 gcc-4.2-base gcc-4.2-locales

No need to uninstall gcc-4.3.

If required change the link to gcc via:
ls -l /usr/bin/gcc # This should be a link
sudo rm /usr/bin/gcc
sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc

You may need to remove your ~/overo_oe/tmp directory as it was compiled
with gcc-4.3 and some api is probably non existent in gcc-4.2 and
something will fail.

Bitbake away

Good Luck

Grahame


Na'Tosha Bard wrote:
> Hello,
>
> I was able to continue development on my Ubuntu 8.10 installation by just installing an older version of gcc via apt from the Ubuntu repository and using that version of gcc for building OE.
>
> Best Regards,
> Na'Tosha
>
>
> -----Original Message-----
> From: Scott Harris [mailto:scottrharris@gmail.com]
> Sent: Mon 12/22/2008 5:39 PM
> To: General mailing list for gumstix users.
> Subject: [Gumstix-users] Ubuntu 8.10 and Open Embeded
>
> I've done some searching and it seems there is a problem with gcc4.3, Ubuntu
> 8.10, and OE.
>
> Does anyone know when a fix might be expected? Should I downgrade to Ubuntu
> 8.04, or just hang on for a while?
>
> Suggestions?
>
> Thanks,
> -Scott
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>


------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users