Re: Porting Matchbox to Agenda VR3

Isaque Galdino de Araujo <[email protected]>
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Matthew, forget it!

I updated my cross-compiling system and the error stopped to appear!
Thank you for all your help!
I'll let you know how MatchBox is going to work in Agenda!

Thank you again!!!

On Wed, 9 Apr 2003 21:41:00 +0100
Matthew Allum <[email protected]> wrote:

> Ok, remove --enable-dnotify from your configure line, maybe even try a
> build with just --enable-standalone as the only matchbox option. 
> 
> btw, to help me with the malloc issue, could you mail me you
> config.log ? 
> 
>   -- Matthew
> 
> 
> 
> on Wed, Apr 09, 2003 at 04:58:44PM -0300, Isaque Galdino de Araujo wrote:
> > I tried that, but it starts giving me other errors:
> > 
> > /opt/snow-gcc/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..   -Os -B/opt/snow-gcc/lib/snow/  -Os -B/opt/snow-gcc/lib/snow/ -Os -Wall -DUSE_PNG -DUSE_DNOTIFY -DNO_KBD -DSTANDALONE  -I/opt/snow-gcc/mipsel-linux/include -DDEFAULTTHEME=\"\" -DCONFDEFAULTS=\"\" -DPIXMAPSDIR=\"/home/agenda-snow/local/share/pixmaps/\" -DDATADIR=\"/home/agenda-snow/local/share\" -I../libmb -c mbmenu.c
> > In file included from /opt/snow-gcc/mipsel-linux/include/linux/fcntl.h:4,
> >                  from mbmenu.c:35:
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:80: parse error before "__kernel_off_t"
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:80: warning: no semicolon at end of struct or union
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:81: warning: type defaults to `int' in declaration of `l_len'
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:81: warning: data definition has no type or storage class
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: parse error before "l_pid"
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: warning: type defaults to `int' in declaration of `l_pid'
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:83: warning: data definition has no/opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: parse error before '}' token
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: warning: type defaults to `int' in declaration of `flock_t'
> > /opt/snow-gcc/mipsel-linux/include/asm/fcntl.h:85: warning: data definition has no type or storage class
> > mbmenu.c: In function `handle_events':
> > mbmenu.c:960: `SIGRTMIN' undeclared (first use in this function)
> > mbmenu.c:960: (Each undeclared identifier is reported only once
> > mbmenu.c:960: for each function it appears in.)
> > mbmenu.c: In function `main':
> > mbmenu.c:1113: structure has no member named `sa_sigaction'
> > mbmenu.c:1115: `SA_SIGINFO' undeclared (first use in this function)
> > mbmenu.c:1116: `SIGRTMIN' undeclared (first use in this function)
> > mbmenu.c:1118: warning: implicit declaration of function `open'
> >  type or storage class
> > mbmenu.c:1119: warning: implicit declaration of function `fcntl'
> > make[3]: ** [mbmenu.o] Erro 1
> > make[3]: Saindo do diret?rio `/home/agenda-snow/Projetos/matchbox-0.5rc2/util'
> > make[2]: ** [all-recursive] Erro 1
> > make[2]: Saindo do diret?rio `/home/agenda-snow/Projetos/matchbox-0.5rc2/util'
> > make[1]: ** [all-recursive] Erro 1
> > make[1]: Saindo do diret?rio `/home/agenda-snow/Projetos/matchbox-0.5rc2'
> > make: ** [all-recursive-am] Erro 2
> > 
> > That's it! I saw that I have two signal.h files: one is at /opt/snow-gcc/mipsel-linux/include/signal.h and another is at /opt/snow-gcc/mipsel-linux/include/asm/signal.h
> > 
> > If I change the mbmenu code to include asm/signal.h instead of signal.h, it gives me a lot of other errors...
> > 
> > On Wed, 9 Apr 2003 20:41:18 +0100
> > Matthew Allum <[email protected]> wrote:
> > 
> > > Doh bummer - and still no joy manually editing the config.h file ?
> > > 
> > >   -- Matthew
> > > 
> > > on Wed, Apr 09, 2003 at 04:29:47PM -0300, Isaque Galdino de Araujo wrote:
> > > > No. Unfortunetly!
> > > > 
> > > > On Wed, 9 Apr 2003 20:10:44 +0100
> > > > Matthew Allum <[email protected]> wrote:
> > > > 
> > > > > Does adding --target and --build to your configure line make any
> > > > > difference ?
> > > > > 
> > > > >   -- Matthew
> > > > > 
> > > > > on Wed, Apr 09, 2003 at 03:06:38PM -0300, Isaque Galdino de Araujo wrote:
> > > > > > ./configure --enable-png --enable-dnotify --enable-libsn --enable-xsetting --enable-standalone --disable-keyboard --host=mipsel-linux --prefix=/home/agenda-snow/local
> > > > > > 
> > > > 
> > > > 
> > > > -- 
> > > > Isaque Galdino de Araujo    C/C++/Java    http://sites.uol.com.br/isaque
> > > > Linux User #274776          since 1997             Slackware User so far
> > > > _______________________________________________
> > > > Matchbox mailing list
> > > > [email protected]
> > > > https://handhelds.org/mailman/listinfo/matchbox
> > > > 
> > 
> > 
> > -- 
> > Isaque Galdino de Araujo    C/C++/Java    http://sites.uol.com.br/isaque
> > Linux User #274776          since 1997             Slackware User so far
> > _______________________________________________
> > Matchbox mailing list
> > [email protected]
> > https://handhelds.org/mailman/listinfo/matchbox
> > 


-- 
Isaque Galdino de Araujo    C/C++/Java    http://sites.uol.com.br/isaque
Linux User #274776          since 1997             Slackware User so far
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.