Picon

Re: Porting Matchbox to Agenda VR3

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 <breakfast <at> 10.am> 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 <breakfast <at> 10.am> 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
> > Matchbox <at> handhelds.org
> > 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

Gmane