My LFS-system is broken, or.....

Vidar Hoel vhoel99 at
Tue Mar 18 15:36:28 PST 2003


I thought this was a Mozilla-bug, but after submitting a bug-report,
it seems that my LFS-system is broke. And since I followed the
LFS-book, I am a little troubled...

I have glibc 2.3.1, gcc 3.2.2, automake 1.7.3, autoconf 2.57, libtool

I am trying to install mozilla, tried versions from 1.2 to 1.3, and I get the same

make[4]: Entering directory `/usr/src/mozilla/string/src'
c++ -o nsFragmentedString.o -c -DOSTYPE=\"Linux2.4\"
-DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_COM  -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include
-I/usr/src/mozilla/dist/include/nspr      -I/usr/X11R6/include   -fPIC
-O3 -mcpu=pentiumpro -march=pentiumpro -mpreferred-stack-boundary=4
-I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -pedantic -Wno-long-long -O3 -mcpu=pentiumpro
-march=pentiumpro -mpreferred-stack-boundary=4 -fshort-wchar -pthread
-pipe  -DNDEBUG -DTRIMMED -O3 -mcpu=pentiumpro -march=pentiumpro  -O3
-mcpu=pentiumpro -march=pentiumpro -mpreferred-stack-boundary=4
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsFragmentedString.pp nsFragmentedString.cpp
In file included from /usr/include/c++/3.2.2/new:41,
    from ../../dist/include/string/nsBufferHandleUtils.h:36,
    from ../../dist/include/string/nsSharedBufferList.h:47,
    from ../../dist/include/string/nsFragmentedString.h:35,
    from nsFragmentedString.cpp:26:
/usr/include/c++/3.2.2/cstddef:53: parse error before `unsigned'
In file included from ../../dist/include/string/nsBufferHandleUtils.h:36,
    from ../../dist/include/string/nsSharedBufferList.h:47,
    from ../../dist/include/string/nsFragmentedString.h:35,
    from nsFragmentedString.cpp:26:
/usr/include/c++/3.2.2/new:51: parse error before `{' token

and so on...

After some discussion on

they asked me if my CPP was set correctly. And it was.

They then found "the cause of the error is the same: size_t is being
seen as undefined by autoconf and being redefined as unsigned.  I
don't see anything in the log to explain why that's happening though.
In fact, all of those type tests (mode_t, off_t, pid_t) I would expect to 
pass on Linux."

Neither I nor the mozilla-team seems to find out what is wrong, so I
really hope you can check out the bug-page and come with suggestions.

Vidar Hoel - vhoel99 at
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list