error: array type has incomplete element type in Mozilla

It seems to me a compiler specific error related to GCC version that
Fedora Core 4 ships with

Check this for more info
https://bugzilla.mozilla.org/show_bug.cgi?id=284386
and
http://gcc.gnu.org/gcc-4.0/changes.html


There is already a fix in Mozilla upstream code.
I suggest filing an issue, how should be assigned to?

Quick fix: I believe that most of the development is under Suse, so if
you are not familiar with building i suggest tht you install Suse to
build (less headaches)

FYI, I have built with Ubuntu without minor problems

/aep

> Dear all,
> 
>    I am building oosrc680m125 on Fedora core 4. I have the 
> error message below:
> 
> gmake[4]: Entering directory 
> `/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/security/nss/lib/pki'
> gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/asymmkey.o -c -O2 
> -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi 
> -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE 
> -DHAVE_STRERROR -DXP_UNIX -DNSS_3_4_CODE -UDEBUG -DNDEBUG 
> -D_REENTRANT 
> -I/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/dist/include
>  
>  -I../../../../dist/public/nss 
> -I../../../../dist/private/nss -I../../../../dist/include 
> -I/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/dist/include/nspr
>  
> -I/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/dist/include/dbm
>  
> -I../../../../dist/public/nspr  asymmkey.c
> In file included from 
> ../../../../dist/private/nss/nsspki1.h:57,
>                   from nsspki.h:56,
>                   from asymmkey.c:39:
> ../../../../dist/private/nss/oiddata.h:46: error: array 
> type has incomplete element type
> gmake[4]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/asymmkey.o] 
> Error 1
> gmake[4]: Leaving directory 
> `/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/security/nss/lib/pki'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory 
> `/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/security/nss/lib'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory 
> `/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla/security/manager'
> gmake[1]: *** [tier_40] Error 2
> gmake[1]: Leaving directory 
> `/opt/build/ooo_SRC680_m125_src/moz/unxlngi6.pro/misc/build/mozilla'
> make: *** [default] Error 2
> dmake:  Error code 2, while making 
> './unxlngi6.pro/misc/build/so_built_ooo_mozab'
> '---* tg_merge.mk *---'
> 
> ERROR: Error 65280 occurred while making 
> /opt/build/ooo_SRC680_m125_src/moz
> dmake:  Error code 1, while making 
> 'build_instsetoo_native'
> '---* tg_merge.mk *---'
> could some one tell me what is wrong here...
> 
> Many Thanks
> Pema Geyleg
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> Get a free DrukNet e-mail account and stay in touch
> http://www.druknet.bt    
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to