[vorbis] Date: Tue, 25 Jun 2002 00:06:12 +0300

GIE GIE at svitanok.adamant.net
Mon Jun 24 14:05:30 PDT 2002



Hello!

I'm trying to compile decoder_example.c example (MS VC 7) using debug static
ogg/vorbis libs with no luck. I got linker errors:

Linking...

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _malloc already defined in
LIBCD.lib(dbgheap.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _free already defined in
LIBCD.lib(dbgheap.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _memmove already defined in
LIBCD.lib(memmove.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _realloc already defined in
LIBCD.lib(dbgheap.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _calloc already defined in
LIBCD.lib(dbgheap.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _ldexp already defined in
LIBCD.lib(ldexp.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fclose already defined in
LIBCD.lib(fclose.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _fprintf already defined in
LIBCD.lib(fprintf.obj)

MSVCRTD.lib(MSVCR70D.dll) : error LNK2005: _sprintf already defined in
LIBCD.lib(sprintf.obj)

LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library

Debug/vorbis_test.exe : fatal error LNK1169: one or more multiply defined
symbols found

<p>While it is compiling fine using release libs.
What is the problem?
Thanks for any help.


--
Best regards,
GIE

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list