Reply
Thread Tools
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#141
Originally Posted by Hrw View Post
Does MADDE uses same toolchain version as MaemoSDK?

I am asking because after unpacking it I see gcc 4.3.3 + binutils 2.19.51.x in targets/fremantle-qt-0942/bin (also in /toolchains/ dir) but gccc 4.2.1 + binutils 2.18.50.x in sysroot.
No it doesn't. It uses newer as you noticed. We will downgrade the toolchain with next release update.
 

The Following 3 Users Say Thank You to rontti For This Useful Post:
Posts: 244 | Thanked: 155 times | Joined on Aug 2009 @ DC
#142
This should be made available from the developer link on the main page http://maemo.org/development/ if it's not already. I looked and I wasn't able to locate the wiki other then using the direct link on the first page of this thread. Unless I just wasn't looking in the right location.

It's only by chance I happen to come across this thread and I suspect this will help a lot of developers who are used to coding in Windows.
 

The Following User Says Thank You to sevla For This Useful Post:
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#143
Hi,

there is an updated version of MADDE available for download. The biggest changes are a new toolchain, which matches the one in the Maemo5 SDK and the use of PR1.1 as target. Other changes are:
  • Fremantle target updated to PR.1.1
  • Toolchain changed for Fremantle. Now it matches with Maemo5 SDK. cc command fixed.
  • Windows target creation performance improved.
  • Maemo Desktop files added to Qt example. base64 command added to support that
  • Qt library example fixed.
  • Following https://bugs.maemo.org/buglist.cgi?component=madde bugs fixed.
  • 8415 Cannot install MADDE to different directory than the default
  • 7637 pscreate writes a localized, invalid trailer line into de...
  • 7821 Library search path wrong
  • 7350 MADDE 0.5's dpkg replacement does not work with --search ...
  • 7774 Can't run GLES applications under madde environment
  • 8623 hildon-1 pkg-config configuration broken
  • Minor buf fixes and improvements.

Please check as well the whole blog-post. Feel free to test it and give your feedback as usual. And thanks a lot for the suggestions and feedback you gave since the first preview!!

Daniel
 

The Following 15 Users Say Thank You to danielwilms For This Useful Post:
Posts: 24 | Thanked: 38 times | Joined on Nov 2009
#144
Hi Daniel, thanks for the update! How about some Qt 4.6 love? It's now in beta, so the Maemo5-specific API should be stable enough. Fixing bug 7773 along the way would help too...
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#145
About MADDE update.

There is no update instructions available. What do you think about that? Do you need instructions or not? Actually update packet uses same installer as first time installation packet.

My opinion is that update should be so simple operation that you don't need instructions at all. We have tried to do MADDE in that way. I hope that we have succeed our goal. Let us now if we have failed or not.
 

The Following User Says Thank You to rontti For This Useful Post:
Posts: 277 | Thanked: 46 times | Joined on Jan 2010
#146
I ddin't read any instructions since I'd only installed the xmas MADDE last night.

That installed into a version-specific directory, so when I installed the new version I place it in an independent directory.

So if I had used the same directory update would have worked just fine?
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#147
Originally Posted by rontti View Post
My opinion is that update should be so simple operation that you don't need instructions at all. We have tried to do MADDE in that way. I hope that we have succeed our goal. Let us now if we have failed or not.
This was what I thought. The installation-instructions on the wiki-page were so general, that they fit onto the new version as well. And the installation is perfectly easy! Good job rontti, I think I can speak for all, who have used it - nice piece of software

Originally Posted by planetf1 View Post
So if I had used the same directory update would have worked just fine?
The installer prevents you from doing that

Daniel
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#148
Unix installer prevents installing on top of older version, as '.madde/<version>' is appended to the installation path.
On windows installation on top of previous install is possible, but
should not cause any problems -- we've done installations over
previous builds dozens of times and seldom had any problems -- which
vere always fixed to the build/installation system
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#149
Hi

I'm trying to package nmon for the N900...

I've created a simple project called nmon12f, copied the .c file to src/simple.c, ran mad qmake, but when running mad make I'm getting these errors:
Code:
src/simple.c:4001: error: 'struct mem_stat' has no member named 'dirty'
src/simple.c:4002: error: 'struct mem_stat' has no member named 'writeback'
src/simple.c:4003: error: 'struct mem_stat' has no member named 'mapped'
src/simple.c:4005: error: 'struct mem_stat' has no member named 'slab'
src/simple.c:4006: error: 'struct mem_stat' has no member named 'committed_as'
src/simple.c:4007: error: 'struct mem_stat' has no member named 'pagetables'
src/simple.c:4047: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4048: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4048: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4049: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4049: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4050: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4050: error: 'struct mem_stat' has no member named 'hugesize'
src/simple.c:4052: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4052: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4053: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4055: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4062: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4069: error: 'struct mem_stat' has no member named 'hugetotal'
src/simple.c:4070: error: 'struct mem_stat' has no member named 'hugefree'
src/simple.c:4071: error: 'struct mem_stat' has no member named 'hugesize'
src/simple.c:3039: warning: unused variable 'fs_size_used'
src/simple.c:3038: warning: unused variable 'fs_free'
src/simple.c:3037: warning: unused variable 'fs_size'
src/simple.c:3036: warning: unused variable 'statfs_buffer'
make: *** [build/simple.o] Error 1
I'm new to all this stuff but thought I would give it a go with my favorite monitor... Use it on just about every *nix system I come across...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-02-07 at 20:41. Reason: Renamed nmon to nmon12f... :)
 
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#150
Originally Posted by DrWilken View Post
Hi

I'm trying to package nmon for the N900...

I've created a simple project called nmon12f, copied the .c file to src/simple.c, ran mad qmake, but when running mad make I'm getting these errors:
Hi, you don't need qmake at all. Use nmon makefile.
Code:
mkdir nmon-0.1
cp nmon12d.c nmon-0.1/
cp makefile nmon-0.1/
cd nmon-0.1
mv nmon12d.c lmon.c
mad make
Now code is compiled. If you wanna debian package also we need
to do following.

Code:
mad dh_make --single --createorig
Now you are almost able to build debian package. makefile still
need install and clean targets. Lets do these.

Code:
# add these after following line
#FILE=lmon.c
TARGET=nmon_power_rhel3
all: $(TARGET)

install: $(TARGET)
        mkdir -p  $(DESTDIR)/usr/bin
        cp $(TARGET) $(DESTDIR)/usr/bin 

clean:
        rm $(target)
Now you can build debian package with
Code:
mad dpkg-buildpackage
 

The Following 4 Users Say Thank You to rontti For This Useful Post:
Reply

Tags
madde

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:46.