galeon compiling

wrobell wrobell at posexperts.com.pl
Wed Jul 4 17:22:09 CEST 2001


On Wed, Jul 04, 2001 at 04:23:46PM +0200, Michal Moskal wrote:
> On Wed, Jul 04, 2001 at 03:54:34PM +0200, wrobell wrote:
> > On Wed, Jul 04, 2001 at 03:22:06PM +0200, wrobell wrote:
> > > I have been trying to compile last (cvs) and the latest
> > > (0.11.1) version of galeon. I am getting:
> > > 
> > > In file included from /usr/X11R6/include/mozilla/nspr/obsolete/protypes.h:53,
> > >     from /usr/X11R6/include/mozilla/nspr/prtypes.h:466,
> > >     from /usr/X11R6/include/mozilla/nscore.h:37,
> > >     from mozilla.h:144,
> > >     from galeon-wrapper.cpp:20:
> > > /usr/include/sys/types.h:84: declaration does not declare anything
> > And while compiling other packages I am getting:
> > 
> >     /usr/include/sys/types.h:84: warning: empty declaration
> 
> Try compiling test.c with just #include <sys/types.h>,
> also show rpm -q glibc-devel. If <sys/types.h> alone
Works. glibc-devel-2.2.3-5
> works, try look what else includes are used before,
> in my sys/types.h:84 there is off_t definition so maybe
In my sys/types the off_t definitions exists, too.
> smoe other file does #define off_t int or sth...
Many:

find /usr/include -follow -type f \
    | xargs grep '\<off_t\>;' | grep -e typedef -e define

/usr/include/linux/types.h:typedef __kernel_off_t          off_t;
/usr/include/sys/mman.h:typedef __off_t off_t;
/usr/include/sys/mman.h:typedef __off64_t off_t;
/usr/include/sys/stat.h:typedef __off_t off_t;
/usr/include/sys/stat.h:typedef __off64_t off_t;
/usr/include/sys/types.h:typedef __off_t off_t;
/usr/include/sys/types.h:typedef __off64_t off_t;
/usr/include/unistd.h:typedef __off_t off_t;
/usr/include/unistd.h:typedef __off64_t off_t;


I am using kernel 2.4.x, so tried with pld kernel headers.
I have the same problem.

    wrobell <wrobell at posexperts.com.pl>



More information about the pld-devel-en mailing list