On Mon, Sep 20, 2010 at 18:50, Ozkan Sezer <[email protected]> wrote:

> On Mon, Sep 20, 2010 at 12:32 PM, Dongsheng Song
> <[email protected]> wrote:
> > Hi all,
> >
> > When I compile cx_Oracle, I got the warn/error:
> >
> > O:\gcc-4.5-w32\bin\gcc.exe -mno-cygwin -shared -s
> > build\temp.win32-2.6-11g\Release\cx_oracle.o
> > build\temp.win32-2.6-11g\Release\cx_Oracle.def
> > -LC:\opt\oracle\product\11.2\master\bin
> -LC:\opt\oracle\product\11.2\master
> > -LC:\opt\oracle\product\11.2\master\oci\lib\msvc
> > -LC:\opt\oracle\product\11.2\master\sdk\lib\msvc -LC:
> > \opt\python-2.6\libs -LC:\opt\python-2.6\PCbuild -loci -lpython26
> -lmsvcr90
> > -o build\lib.win32-2.6-11g\cx_Oracle.pyd
> >
> o:/gcc-4.5-w32/bin/../lib/gcc/i686-w64-mingw32/4.5.2/../../../../i686-w64-mingw32/lib/libmingw32.a(lib32_libmingw32_a-mingw_helpers.o):mingw_helpers.c:(.text+0x0):
> > multiple definition of `_decode_pointer'
> >
> o:/gcc-4.5-w32/bin/../lib/gcc/i686-w64-mingw32/4.5.2/../../../../i686-w64-mingw32/lib/libmsvcr90.a(dcims00352.o):(.text+0x0):
> > first defined here
> >
> o:/gcc-4.5-w32/bin/../lib/gcc/i686-w64-mingw32/4.5.2/../../../../i686-w64-mingw32/lib/libmingw32.a(lib32_libmingw32_a-mingw_helpers.o):mingw_helpers.c:(.text+0x10):
> > multiple definition of `_encode_pointer'
> >
> o:/gcc-4.5-w32/bin/../lib/gcc/i686-w64-mingw32/4.5.2/../../../../i686-w64-mingw32/lib/libmsvcr90.a(dcims00362.o):(.text+0x0):
> > first defined here
> > collect2: ld returned 1 exit status
>
> I guess the fix should be commenting out those exports from msvcr90.def
> and msvcr90d.def.
>
> >
> > Can I safely ignore the message ?
> >
> > Regards,
> > Dongsheng
>
> Ignore an error???
>
> My mean is use:
       --allow-multiple-definition
       -z muldefs
           Normally when a symbol is defined multiple times, the linker will
           report a fatal error. These options allow multiple definitions
and
           the first definition will be used.

--
Dongsheng
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to