build error with option "--enable-svg"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build error with option "--enable-svg"

Mr.Chaiwat Maneeboon
Hi.
I tried to build Mozilla Firefox with option "--enable-svg" and I get
some error.
but option "--disable-svg", it work.


Error message:
LINK : warning LNK4044: unrecognized option
'/L../../dist/lib/components'; ignored
LIBC.lib(strcat.obj) : error LNK2005: _strcpy already defined in
MSVCRT.lib(MSVCR71.dll)
LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in
MSVCRT.lib(MSVCR71.dll)
LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in
MSVCRT.lib(MSVCR71.dll)
LIBC.lib(crt0dat.obj) : error LNK2005: __cexit already defined in
MSVCRT.lib(MSVCR71.dll)
LIBC.lib(crt0dat.obj) : error LNK2005: __c_exit already defined in
MSVCRT.lib(MSVCR71.dll)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
MSVCRT.lib(cinitexe.obj)
LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
MSVCRT.lib(cinitexe.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
type_info::type_info(class type_info const &)" (??0type_info
@ABV0@@Z) already defined in LIBC.lib(typinfo.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info &
__thiscall type_info::operator=(class type_info const
(??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBC.lib(typinfo.obj)
LIBC.lib(strcat.obj) : warning LNK4006: _strcpy already defined in
MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBC.lib(crt0dat.obj) : warning LNK4006: _exit already defined in
MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBC.lib(crt0dat.obj) : warning LNK4006: __exit already defined in
MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBC.lib(crt0dat.obj) : warning LNK4006: __cexit already defined in
MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBC.lib(crt0dat.obj) : warning LNK4006: __c_exit already defined in
MSVCRT.lib(MSVCR71.dll); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in
MSVCRT.lib(cinitexe.obj); second definition ignored
LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in
MSVCRT.lib(cinitexe.obj); second definition ignored
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: __thiscall
type_info::type_info(class type_info const &)" (??0type_in
AE@ABV0@@Z) already defined in LIBC.lib(typinfo.obj); second definition
ignored
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: class type_info &
__thiscall type_info::operator=(class type_info con
" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in
LIBC.lib(typinfo.obj); second definition ignored
    Creating library firefox.lib and object firefox.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other
libs; use /NODEFAULTLIB:library
firefox.exe : fatal error LNK1169: one or more multiply defined symbols
found

Envonment build:
- mozilla firefox 1.5.0.1
- Microsoft windows xp SP2
- Microsoft visual C++ .Net version 7.1

File: .mozconfig
. $topsrcdir/browser/config/mozconfig

mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-rel-@CONFIG_GUESS@

#ac_add_options --disable-64bit-libs
ac_add_options --enable-application=browser
ac_add_options --disable-debug
ac_add_options --disable-logging
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --enable-static
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --disable-shared
ac_add_options --disable-tests
ac_add_options --with-icu=E:/icu-lite

sorry for more error message.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: build error with option "--enable-svg"

Benjamin Smedberg
Mr.Chaiwat Maneeboon wrote:

> Hi.
> I tried to build Mozilla Firefox with option "--enable-svg" and I get
> some error.
> but option "--disable-svg", it work.
>
>
> Error message:
> LINK : warning LNK4044: unrecognized option
> '/L../../dist/lib/components'; ignored
> LIBC.lib(strcat.obj) : error LNK2005: _strcpy already defined in
> MSVCRT.lib(MSVCR71.dll)

The 1.8 branch currently doesn't build SVG with anything other than MSVC6;
bug is filed with a patch.

--BDS

> LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in
> MSVCRT.lib(MSVCR71.dll)
> LIBC.lib(crt0dat.obj) : error LNK2005: __exit already defined in
> MSVCRT.lib(MSVCR71.dll)
> LIBC.lib(crt0dat.obj) : error LNK2005: __cexit already defined in
> MSVCRT.lib(MSVCR71.dll)
> LIBC.lib(crt0dat.obj) : error LNK2005: __c_exit already defined in
> MSVCRT.lib(MSVCR71.dll)
> LIBC.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
> MSVCRT.lib(cinitexe.obj)
> LIBC.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
> MSVCRT.lib(cinitexe.obj)
> LIBC.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
> MSVCRT.lib(cinitexe.obj)
> LIBC.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
> MSVCRT.lib(cinitexe.obj)
> MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall
> type_info::type_info(class type_info const &)" (??0type_info
> @ABV0@@Z) already defined in LIBC.lib(typinfo.obj)
> MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info &
> __thiscall type_info::operator=(class type_info const
> (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBC.lib(typinfo.obj)
> LIBC.lib(strcat.obj) : warning LNK4006: _strcpy already defined in
> MSVCRT.lib(MSVCR71.dll); second definition ignored
> LIBC.lib(crt0dat.obj) : warning LNK4006: _exit already defined in
> MSVCRT.lib(MSVCR71.dll); second definition ignored
> LIBC.lib(crt0dat.obj) : warning LNK4006: __exit already defined in
> MSVCRT.lib(MSVCR71.dll); second definition ignored
> LIBC.lib(crt0dat.obj) : warning LNK4006: __cexit already defined in
> MSVCRT.lib(MSVCR71.dll); second definition ignored
> LIBC.lib(crt0dat.obj) : warning LNK4006: __c_exit already defined in
> MSVCRT.lib(MSVCR71.dll); second definition ignored
> LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in
> MSVCRT.lib(cinitexe.obj); second definition ignored
> LIBC.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in
> MSVCRT.lib(cinitexe.obj); second definition ignored
> LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in
> MSVCRT.lib(cinitexe.obj); second definition ignored
> LIBC.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in
> MSVCRT.lib(cinitexe.obj); second definition ignored
> MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: __thiscall
> type_info::type_info(class type_info const &)" (??0type_in
> AE@ABV0@@Z) already defined in LIBC.lib(typinfo.obj); second definition
> ignored
> MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: class type_info &
> __thiscall type_info::operator=(class type_info con
> " (??4type_info@@AAEAAV0@ABV0@@Z) already defined in
> LIBC.lib(typinfo.obj); second definition ignored
>    Creating library firefox.lib and object firefox.exp
> LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
> libs; use /NODEFAULTLIB:library
> LINK : warning LNK4098: defaultlib 'LIBC' conflicts with use of other
> libs; use /NODEFAULTLIB:library
> firefox.exe : fatal error LNK1169: one or more multiply defined symbols
> found
>
> Envonment build:
> - mozilla firefox 1.5.0.1
> - Microsoft windows xp SP2
> - Microsoft visual C++ .Net version 7.1
>
> File: .mozconfig
> . $topsrcdir/browser/config/mozconfig
>
> mk_add_options MOZ_CO_PROJECT=browser
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-rel-@CONFIG_GUESS@
>
> #ac_add_options --disable-64bit-libs
> ac_add_options --enable-application=browser
> ac_add_options --disable-debug
> ac_add_options --disable-logging
> ac_add_options --enable-optimize
> ac_add_options --enable-strip
> ac_add_options --enable-static
> ac_add_options --enable-svg
> ac_add_options --enable-canvas
> ac_add_options --disable-shared
> ac_add_options --disable-tests
> ac_add_options --with-icu=E:/icu-lite
>
> sorry for more error message.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: build error with option "--enable-svg"

Mr.Chaiwat Maneeboon
Benjamin Smedberg wrote:
> The 1.8 branch currently doesn't build SVG with anything other than
> MSVC6; bug is filed with a patch.
>
> --BDS

I tried to find patch and bug in bugzilla, I see this bug 321650, 311198
It seem my problem.
I test edit source code and rebuild  but I get same error in my build.
can you help me, find bug or patch to fix my problem please.


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds