Reply
Thread Tools
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#151
Thanks... I will try this when I get home from work...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#152
There should be a way to upgrade MADDE to newer versions other then fetching CD sized archives.
__________________
http://marcin.juszkiewicz.com.pl/
irc: hrw
jabber: hrw@jabber.org
 

The Following User Says Thank You to Hrw For This Useful Post:
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#153
Originally Posted by rontti View Post
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
I think I need to create and extra line in the makefile like this:
Code:
nmon_armel:
	cc -o nmon $(FILE) $(CFLAGS) $(LDFLAGS) -D ARMEL
And then run:
Code:
$ mad make nmon_armel
cc -o nmon lmon.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -g -D ARMEL
Otherwise I'm compiling to POWER architecture (right?)...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-02-08 at 14:04.
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#154
WORKS!

nmon for the N900...! Yay!



http://talk.maemo.org/showthread.php...284#post516284
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-02-08 at 14:31.
 

The Following 2 Users Say Thank You to DrWilken For This Useful Post:
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#155
Originally Posted by Hrw View Post
There should be a way to upgrade MADDE to newer versions other then fetching CD sized archives.
There are plans to implement such functionality; however, we have
not concentrated on this issue much so far for these TECH PREVIEW releases.
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#156
I think I finally figured it out...

This is the makefile I ended up with:
Code:
CFLAGS=-g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM
# CFLAGS=-g -O2 -D JFS -D GETUSER -Wall -D POWER
#CFLAGS=-g -D JFS -D GETUSER 
LDFLAGS=-lncurses -g
FILE=lmon.c
TARGET=armel
all: $(TARGET)

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

clean:
	rm $(TARGET)

armel:
	cc -o nmon $(FILE) $(CFLAGS) $(LDFLAGS) -D ARMEL
With the above make file I was able to run mad make, mad dh_make --single --createorig and mad dpkg-buildpackage as advised by rontti...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...

Last edited by DrWilken; 2010-02-08 at 22:27.
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#157
Since PR1.2 is coming soon with Qt 4.6, I would like to know when will MADDE officially support 4.6?

Oh, and is the integration with Qt Creator ready yet?
 
Posts: 27 | Thanked: 37 times | Joined on Jan 2010 @ Hobart, Australia
#158
Originally Posted by Sasler View Post
Since PR1.2 is coming soon with Qt 4.6, I would like to know when will MADDE officially support 4.6?

Oh, and is the integration with Qt Creator ready yet?
Straight from http://labs.trolltech.com/blogs/2010...mo-5-released/

We’re trying to get Qt Creator with MADDE support to a decent level before PR 1.2 is released.
 

The Following User Says Thank You to nick.read For This Useful Post:
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#159
Originally Posted by Sasler View Post

Oh, and is the integration with Qt Creator ready yet?
MADDE and QT Creator integration has been there for months
now; both have evolved since and new Maemo releases bring
new integration work to be completed.
 
Posts: 25 | Thanked: 1 time | Joined on Feb 2010
#160
Originally Posted by too View Post
MADDE works well for GTK+ development (in C).

At minimum the lines 'pkg-config --cflags gtk+-2.0' (for sourrce to object
file compiling) and 'pkg-config --libs gtk+-2.0' (for linking) is needed
in your Makefile
I got some problems when trying to use GTK+ in Qt/MADDE. First, I created the project with Qt Creator, where Gtk+ is used. In order to inform qmake the project is using GTK..., I added
unix {
CONFIG += link_pkgconfig
PKGCONFIG += gtk+-2.0 hildon-1 gstreamer-0.10
}
to the .pro file.
Then I tried to build the project with MADDE, using mad qmake. I got
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.

I have asked the question at Nokia forum, but it seems I still can't get the solution. Any one help?

Cheers.
 
Reply

Tags
madde


 
Forum Jump


All times are GMT. The time now is 18:50.