Re: omit qemu from OE build?

2007-09-04 Thread Shawn Rutledge
On 9/3/07, Eric Johnson [EMAIL PROTECTED] wrote:
 To workaround the problem you had with gentoo and uicmocv4-native_4.3.1
 please see bug 747

 http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=747

Thanks I'll try that.

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: AW: omit qemu from OE build?

2007-09-03 Thread Francesco Riosa

on gentoo try:

# emerge -av 'sys-deve/gcc-4.0'
# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.6
[...]
 [6] x86_64-pc-linux-gnu-4.1.2
 [7] x86_64-pc-linux-gnu-4.2.0 *

# gcc-config 1
# source /etc/profile
# gcc-config 7
# make build-qemu  || stuff you need to compile with gcc 3.4
# source /etc/profile

I do prefer to reset the right compiler right after the profile sourcing
to avoid forget it after, the setting needed to compile stuff with gcc 
4.0 are kept untill the shell is closed ore profile is sourced again.


[EMAIL PROTECTED] ha scritto:
 hi shawn,

 qemu NEED gcc 3.x.
 chees CY

   
 Ursprüngliche Nachricht
 Von: [EMAIL PROTECTED]
 Datum: 02.09.2007 02:44
 An: List for OpenMoko community discussion[EMAIL PROTECTED]
 
 openmoko.org
   
 Betreff: omit qemu from OE build?

 After the compiler badness on my one gentoo system (which I have 
 
 no
   
 idea how to resolve) I decided to try on another machine which 
 
 happens
   
 to be 64-bit and with gcc 4.1, so there isn't much hope of 
 
 getting
   
 qemu to run.  But openmoko-devel-image or openmoko-image depend on 
 
 it.
   
 Is there a way to remove this dependency so I can just build 
 
 images
   
 for the phone?

 ___
 OpenMoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

 



 ___
 OpenMoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

   


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: AW: omit qemu from OE build?

2007-09-03 Thread Marcin Juszkiewicz
Dnia poniedziałek, 3 września 2007, Francesco Riosa napisał:
 on gentoo try:

Also try to remove not needed content from mail. Would be good to try to 
answer under post not on top of it.

 # gcc-config 1
 # source /etc/profile
 # gcc-config 7
 # make build-qemu  || stuff you need to compile with gcc 3.4
 # source /etc/profile

You can have gcc 3.4.x in PATH as gcc-3.4 and OpenEmbedded will 
automatically choose it to build QEmu. No need to change default 
compiler.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

Perl - The only language that looks the same before and after RSA 
encryption.



___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: AW: omit qemu from OE build?

2007-09-03 Thread Francesco Riosa
Marcin Juszkiewicz ha scritto:
 Dnia poniedziałek, 3 września 2007, Francesco Riosa napisał:
   
 on gentoo try:
 

 Also try to remove not needed content from mail. Would be good to try to 
 answer under post not on top of it.

   
Sorry I think that's not the case , the configure file has this search list:
gcc3_list=gcc-3.4 gcc34 gcc-3.3.6 gcc-3.3 gcc33 gcc-3.2 gcc32
gcc on gentoo is /usr/bin/gcc-3.4.6
so configure does not found it ... or I'm missing some piece

regards

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: AW: omit qemu from OE build?

2007-09-03 Thread Shawn Rutledge
On 9/3/07, Francesco Riosa [EMAIL PROTECTED] wrote:
 Marcin Juszkiewicz ha scritto:
  Dnia poniedziałek, 3 września 2007, Francesco Riosa napisał:
 
  on gentoo try:
 
 
  Also try to remove not needed content from mail. Would be good to try to
  answer under post not on top of it.
 
 
 Sorry I think that's not the case , the configure file has this search list:
 gcc3_list=gcc-3.4 gcc34 gcc-3.3.6 gcc-3.3 gcc33 gcc-3.2 gcc32
 gcc on gentoo is /usr/bin/gcc-3.4.6
 so configure does not found it ... or I'm missing some piece

I fixed it by creating gcc32 as a script in /usr/bin, like this:

#!/bin/sh
gcc -m32 $@

(thanks Steve for the suggestion)

Oh, I just realized it means a version number, not that it's a 32-bit gcc...

Well I guess somebody should add to gcc3_list in the recipe and then
we won't have this problem anymore on gentoo, eh?
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: omit qemu from OE build?

2007-09-03 Thread Eric Johnson

Shawn Rutledge wrote:

I got past qemu now and it's getting stuck on qtopia.
(Again, why do I need that for openmoko?)
  

qtopia or qmake?

Qmake is needed to build webkit which is used by openmoko-feedreader.


uicmoc4-native_4.3.1
  


To workaround the problem you had with gentoo and uicmocv4-native_4.3.1
please see bug 747

http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=747





___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


AW: omit qemu from OE build?

2007-09-02 Thread [EMAIL PROTECTED]
hi shawn,

qemu NEED gcc 3.x.
chees CY

Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 02.09.2007 02:44
An: List for OpenMoko community discussion[EMAIL PROTECTED]
openmoko.org
Betreff: omit qemu from OE build?

After the compiler badness on my one gentoo system (which I have 
no
idea how to resolve) I decided to try on another machine which 
happens
to be 64-bit and with gcc 4.1, so there isn't much hope of 
getting
qemu to run.  But openmoko-devel-image or openmoko-image depend on 
it.
 Is there a way to remove this dependency so I can just build 
images
for the phone?

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community




___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: omit qemu from OE build?

2007-09-02 Thread Shawn Rutledge
Thanks.  I got past qemu now and it's getting stuck on qtopia.
(Again, why do I need that for openmoko?)

On 9/1/07, Steve [EMAIL PROTECTED] wrote:
 Steve wrote:
  The only further suggestion I can give you if to clean out the
  /var/media/moko/build/tmp/work/x86_64-linux/qemu-native-0.9.0+cvs20070613-r5/
  directory to force rebuilding of QEMU from scratch in case there are
  some improperly build files left over in there from when you linked
  gcc32 to gcc.  I haven't looked into QEMU much so the error doesn't mean
  a whole lot to me.

 Reading the wiki, it looks like there's a proper way to do that too, try
 clean-package-qemu-native or something along those lines. From:

 http://wiki.openmoko.org/wiki/MokoMakefile

 in the Reporting Problems section

 -Steve [EMAIL PROTECTED]


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: omit qemu from OE build?

2007-09-02 Thread Shawn Rutledge
On 9/2/07, Marcin Juszkiewicz [EMAIL PROTECTED] wrote:
 Dnia niedziela, 2 września 2007, Shawn Rutledge napisał:
  I got past qemu now and it's getting stuck on qtopia.
  (Again, why do I need that for openmoko?)

 qtopia or qmake?

 Qmake is needed to build webkit which is used by openmoko-feedreader.

uicmoc4-native_4.3.1

NOTE: Running task 1206 of 3169 (ID: 2684,
/var/media/moko/openembedded/packages/uicmoc/uicmoc4-native_4.3.1.bb,
do_compile)
NOTE: package uicmoc4-native-4.3.1: started
NOTE: package uicmoc4-native-4.3.1-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/temp/log.do_compile.12240)
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| make: Nothing to be done for `first'.
| NOTE: make CC=gcc  CXX=g++
| g++ -Wl,-rpath,/var/media/moko/build/tmp/staging/x86_64-linux/qt4/lib
-Wl,-rpath,/var/media/moko/build/tmp/staging/x86_64-linux/qt4/lib -o
../../../bin/uic3 .obj/release-static-emb-x86_64/customwidgetsinfo.o
.obj/release-static-emb-x86_64/databaseinfo.o
.obj/release-static-emb-x86_64/driver.o
.obj/release-static-emb-x86_64/treewalker.o
.obj/release-static-emb-x86_64/ui4.o
.obj/release-static-emb-x86_64/uic.o
.obj/release-static-emb-x86_64/validator.o
.obj/release-static-emb-x86_64/cppextractimages.o
.obj/release-static-emb-x86_64/cppwritedeclaration.o
.obj/release-static-emb-x86_64/cppwriteicondata.o
.obj/release-static-emb-x86_64/cppwriteicondeclaration.o
.obj/release-static-emb-x86_64/cppwriteiconinitialization.o
.obj/release-static-emb-x86_64/cppwriteincludes.o
.obj/release-static-emb-x86_64/cppwriteinitialization.o
.obj/release-static-emb-x86_64/main.o
.obj/release-static-emb-x86_64/ui3reader.o
.obj/release-static-emb-x86_64/parser.o
.obj/release-static-emb-x86_64/domtool.o
.obj/release-static-emb-x86_64/object.o
.obj/release-static-emb-x86_64/subclassing.o
.obj/release-static-emb-x86_64/form.o
.obj/release-static-emb-x86_64/converter.o
.obj/release-static-emb-x86_64/widgetinfo.o
.obj/release-static-emb-x86_64/embed.o
.obj/release-static-emb-x86_64/qt3to4.o
.obj/release-static-emb-x86_64/deps.o
-L/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib
-lQt3Support 
-L/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib
-lQtSql -lQtNetwork -lssl -lcrypto -lQtXml -lQtGui -lQtCore -lz -lm
-lrt -ldl -lpthread
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qapplication_qws.o):
In function `QWSDisplay::Data::waitForQCopResponse()':
| qapplication_qws.cpp:(.text+0x13f2): undefined reference to
`QAbstractSocket::flush()'
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qapplication_qws.o):
In function `QWSDisplay::Data::waitForCreation()':
| qapplication_qws.cpp:(.text+0x1495): undefined reference to
`QAbstractSocket::flush()'
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qapplication_qws.o):
In function `QWSDisplay::Data::waitForConnection()':
| qapplication_qws.cpp:(.text+0x14e9): undefined reference to
`QAbstractSocket::flush()'
| qapplication_qws.cpp:(.text+0x1509): undefined reference to
`QAbstractSocket::flush()'
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qapplication_qws.o):
In function `QWSDisplay::Data::~Data()':
| qapplication_qws.cpp:(.text+0x26e5): undefined reference to
`QAbstractSocket::flush()'
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qapplication_qws.o):qapplication_qws.cpp:(.text+0x2ab5):
more undefined references to `QAbstractSocket::flush()' follow
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qwindowsystem_qws.o):
In function `QWSClient::sendEvent(QWSEvent*)':
| qwindowsystem_qws.cpp:(.text+0x146e): undefined reference to
`QAbstractSocket::state() const'
| 
/var/media/moko/build/tmp/work/x86_64-linux/uicmoc4-native-4.3.1-r0/qtopia-core-opensource-src-4.3.1/lib/libQtGui.a(qwindowsystem_qws.o):
In function `QWSClient::QWSClient(QObject*, QTcpSocket*, int)':
| qwindowsystem_qws.cpp:(.text+0x3118): undefined reference to

omit qemu from OE build?

2007-09-01 Thread Shawn Rutledge
After the compiler badness on my one gentoo system (which I have no
idea how to resolve) I decided to try on another machine which happens
to be 64-bit and with gcc 4.1, so there isn't much hope of getting
qemu to run.  But openmoko-devel-image or openmoko-image depend on it.
 Is there a way to remove this dependency so I can just build images
for the phone?

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: omit qemu from OE build?

2007-09-01 Thread Sudharshan S
On 9/2/07, Shawn Rutledge [EMAIL PROTECTED] wrote:

 After the compiler badness on my one gentoo system (which I have no
 idea how to resolve) I decided to try on another machine which happens
 to be 64-bit and with gcc 4.1, so there isn't much hope of getting
 qemu to run.  But openmoko-devel-image or openmoko-image depend on it.
 Is there a way to remove this dependency so I can just build images
 for the phone?


Hello Shawn,
qemu needs gcc 3.x to build cleanly. I am on gentoo on useful and my
compiler isnt that bad :P.

Regards
Sudharshan S
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community