[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

size_t errors make bootstrap fail



Hello, my name is Claudio Bandaloukas and I am trying to build OO.o 641c on
testing.

I am having problems with bootstrap.
Here's the output (sorry for the identation, it sucks, I know :( )

I tried building this with both gcc-2.95.4 and gcc-3.0.3
libc is 2.2.5-3 but I get the same behaviour.
Could this be because I recently changed to 2.4.17?
(I used kernel package to build a custom kernel image, so I didn't touch
anything under /usr/include myself)

-- 
Claudio Bandaloukas
bman:~/src/oo_641c_src> ./bootstrap
build -- version: 1.40
/home/rdfm/src/oo_641c_src/external/psprint/ppds
------------------------------
Making: ../../unxlngi3.pro/bin/fontunxppds.zip
rebuilding zipfiles
------------------------------
zip -u -j ../../unxlngi3.pro/bin/fontunxppds.zip  *   -x   makefile.*  -x delzip -x "*CVS*"
zip: Command not found.
------------------------------
Making: ../../unxlngi3.pro/misc/unxfontsxp3ppds.dpz
dmake  product="full" make_zip_deps=true ZIPALLTARGET -u
zipdep -u -j ../../unxlngi3.pro/bin/fontunxppds.zip  *   -x   makefile.*  >> ../../unxlngi3.pro/misc/unxfontsxp3ppds.ppds.fontunxppds.dpzz
zipdep: Command not found.
cat ../../unxlngi3.pro/misc/unxfontsxp3ppds.ppds.*.dpzz | grep -v "CVS" >> ../../unxlngi3.pro/misc/unxfontsxp3ppds.dpz
-------------
/home/rdfm/src/oo_641c_src/external/expat
generated makefile.rc detected
-------------
/home/rdfm/src/oo_641c_src/external/neon
generated makefile.rc detected
-------------
/home/rdfm/src/oo_641c_src/external/expat/rtufiles/xmltok
------------------------------
Making: ../../../unxlngi3.pro/slo/xmlrole.obj
gcc -nostdinc -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi3.pro/inc -I. -I/home/rdfm/src/oo_641c_src/sal/inc -I/home/rdfm/src/oo_641c_src/vos/inc  -I. -I/home/rdfm/src/oo_641c_src/solver/641/unxlngi3.pro/inc -I/home/rdfm/src/oo_641c_src/solver/641/unxlngi3.pro/inc/external -I/home/rdfm/src/oo_641c_src/solenv/unxlngi3/inc -I/home/rdfm/src/oo_641c_src/solenv/inc -I/home/rdfm/src/oo_641c_src/res -I/usr/include -I/home/rdfm/src/oo_641c_src/solver/641/unxlngi3.pro/inc/dont_use_stl -I/home/rdfm/src/oo_641c_src/solenv/inc/Xp31 -I/usr/include -I/usr/include/linux -I/usr/include/native_threads/include -I/usr/X11R6/include -I/usr/lib/gcc-lib/i386-linux/2.95.4/include -I/usr/include     -I. -I../../../res -I. -O2   -pipe -mpentiumpro  -fpic -DLINUX -DUNX -DVCL -DGCC -DC295 -DINTEL -DCVER=C295 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc2 -DSUPD=641 -DBUILD=7565 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DSRC641 -DBOOTSTRAPPER -DSHAREDLIB -D_DLL_  -DMULTITHREAD -w -o ../../../unxlngi3.pro/slo/xmlrole.o xmlrole.c
In file included from xmldef.h:31,
                 from xmlrole.c:31:
		 /usr/include/string.h:38: parse error before `size_t'
		 /usr/include/string.h:41: parse error before `size_t'
		 /usr/include/string.h:49: parse error before `size_t'
		 /usr/include/string.h:55: parse error before `size_t'
		 /usr/include/string.h:58: parse error before `size_t'
		 /usr/include/string.h:62: parse error before `size_t'
		 /usr/include/string.h:81: parse error before `size_t'
		 /usr/include/string.h:88: parse error before `size_t'
		 /usr/include/string.h:94: parse error before `size_t'
		 /usr/include/string.h:101: parse error before `strxfrm'
		 /usr/include/string.h:102: parse error before `size_t'
		 /usr/include/string.h:167: parse error before `strcspn'
		 /usr/include/string.h:171: parse error before `strspn'
		 /usr/include/string.h:218: parse error before `strlen'
		 /usr/include/string.h:233: parse error before `size_t'
		 /usr/include/string.h:238: parse error before `size_t'
		 /usr/include/string.h:242: parse error before `size_t'
		 /usr/include/string.h:245: parse error before `size_t'
		 /usr/include/string.h:248: parse error before `size_t'
		 /usr/include/string.h:276: parse error before `size_t'
		 In file included from /usr/include/bits/types.h:143,
                 from /usr/include/bits/string2.h:53,
                 from /usr/include/string.h:360,
                from xmldef.h:31,
                 from xmlrole.c:31:
 /usr/include/bits/pthreadtypes.h:50: parse error before `size_t'
     /usr/include/bits/pthreadtypes.h:53: parse error before `__stacksize'
    In file included from /usr/include/string.h:360,
    from xmldef.h:31,
    from xmlrole.c:31:
    /usr/include/bits/string2.h:417: parse error before `size_t'
    /usr/include/bits/string2.h:422: parse error before `size_t'
    /usr/include/bits/string2.h: In function `__strcpy_small':
    /usr/include/bits/string2.h:428: `__dest' undeclared (first use in this function)
	       /usr/include/bits/string2.h:428: (Each undeclared identifier is reported only once
       /usr/include/bits/string2.h:428: for each function it appears in.)
   /usr/include/bits/string2.h:429: `__srclen' undeclared (first use in this function)
   /usr/include/bits/string2.h:435: `__src0_2' undeclared (first use in this function)
   /usr/include/bits/string2.h:443: `__src0_4' undeclared (first use in this function)
   /usr/include/bits/string2.h:453: `__src4_2' undeclared (first use in this function)
   /usr/include/bits/string2.h:465: `__src4_4' undeclared (first use in this function)
       /usr/include/bits/string2.h: At top level:
   /usr/include/bits/string2.h:917: parse error before `__strcspn_c1'
       /usr/include/bits/string2.h:919: parse error before `__strcspn_c1'
	       /usr/include/bits/string2.h: In function `__strcspn_c1':
       /usr/include/bits/string2.h:921: syntax error before `__result'
       /usr/include/bits/string2.h:922: `__result' undeclared (first use in this function)
		       /usr/include/bits/string2.h: At top level:
  /usr/include/bits/string2.h:927: parse error before `__strcspn_c2'
 /usr/include/bits/string2.h:930: parse error before `__strcspn_c2'
	       /usr/include/bits/string2.h: In function `__strcspn_c2':
  /usr/include/bits/string2.h:932: syntax error before `__result'
  /usr/include/bits/string2.h:933: `__result' undeclared (first use in this function)
			       /usr/include/bits/string2.h: At top level:
       /usr/include/bits/string2.h:939: parse error before `__strcspn_c3'
       /usr/include/bits/string2.h:942: parse error before `__strcspn_c3'
   /usr/include/bits/string2.h: In function `__strcspn_c3':
       /usr/include/bits/string2.h:945: syntax error before `__result'
       /usr/include/bits/string2.h:946: `__result' undeclared (first use in this function)
   /usr/include/bits/string2.h: At top level:
			       /usr/include/bits/string2.h:974: parse error before `__strspn_c1'
   /usr/include/bits/string2.h:976: parse error before `__strspn_c1'
		       /usr/include/bits/string2.h: In function `__strspn_c1':
       /usr/include/bits/string2.h:978: syntax error before `__result'
       /usr/include/bits/string2.h:980: `__result' undeclared (first use in this function)
       /usr/include/bits/string2.h: At top level:
   /usr/include/bits/string2.h:985: parse error before `__strspn_c2'
   /usr/include/bits/string2.h:988: parse error before `__strspn_c2'
   /usr/include/bits/string2.h: In function `__strspn_c2':
		       /usr/include/bits/string2.h:990: syntax error before `__result'
   /usr/include/bits/string2.h:992: `__result' undeclared (first use in this function)
		       /usr/include/bits/string2.h: At top level:
   /usr/include/bits/string2.h:997: parse error before `__strspn_c3'
		       /usr/include/bits/string2.h:1000: parse error before `__strspn_c3'
       /usr/include/bits/string2.h: In function `__strspn_c3':
   /usr/include/bits/string2.h:1002: syntax error before `__result'
       /usr/include/bits/string2.h:1004: `__result' undeclared (first use in this function)
       /usr/include/bits/string2.h: In function `__strpbrk_c2':
	       /usr/include/bits/string2.h:1039: `size_t' undeclared (first use in this function)
       /usr/include/bits/string2.h:1039: parse error before `__s'
       /usr/include/bits/string2.h: In function `__strpbrk_c3':
   /usr/include/bits/string2.h:1052: `size_t' undeclared (first use in this function)
   /usr/include/bits/string2.h:1052: parse error before `__s'
 In file included from /usr/include/bits/string2.h:1209,
    from /usr/include/string.h:360,
             from xmldef.h:31,
                  from xmlrole.c:31:
	  /usr/include/stdlib.h: At top level:
  /usr/include/stdlib.h:527: parse error before `__size'
	  /usr/include/stdlib.h:529: parse error before `__nmemb'
	  In file included from /usr/include/string.h:360,
               from xmldef.h:31,
            from xmlrole.c:31:
    /usr/include/bits/string2.h:1233: parse error before `size_t'
    In file included from xmldef.h:47,
		                     from xmlrole.c:31:
	     /usr/include/stdlib.h:133: parse error before `__ctype_get_mb_cur_max'
     In file included from xmldef.h:47,
          from xmlrole.c:31:
      /usr/include/stdlib.h:407: parse error before `size_t'
 /usr/include/stdlib.h:436: parse error before `size_t'
  /usr/include/stdlib.h:536: parse error before `size_t'
      In file included from /usr/include/stdlib.h:546,
           from xmldef.h:47,
                    from xmlrole.c:31:
					/usr/include/alloca.h:33: parse error before `__size'
In file included from xmldef.h:47,
     from xmlrole.c:31:
/usr/include/stdlib.h:551: parse error before `__size'
 /usr/include/stdlib.h:690: parse error before `size_t'
 /usr/include/stdlib.h:694: parse error before `size_t'
 /usr/include/stdlib.h:756: parse error before `size_t'
	 /usr/include/stdlib.h:759: parse error before `size_t'
 /usr/include/stdlib.h:763: parse error before `size_t'
 /usr/include/stdlib.h:766: parse error before `size_t'
 /usr/include/stdlib.h:773: parse error before `size_t'
 /usr/include/stdlib.h:776: parse error before `*'
 /usr/include/stdlib.h:780: parse error before `wchar_t'
 /usr/include/stdlib.h:784: parse error before `mbstowcs'
 /usr/include/stdlib.h:784: parse error before `*'
 /usr/include/stdlib.h:787: parse error before `wcstombs'
 /usr/include/stdlib.h:788: parse error before `*'
 dmake:  Error code 1, while making '../../../unxlngi3.pro/slo/xmlrole.obj'
 ---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /home/rdfm/src/oo_641c_src/external/expat/rtufiles/xmltok
bman:~/src/oo_641c_src>

Reply to: