digitalmars.D - Library Issues
- Kyle Furlong (24/24) Apr 06 2005 I just started using the Mango lib from dsource.org and I am getting thi...
- Regan Heath (7/31) Apr 06 2005 At a guess phobos.lib and mango_r.lib both define these things, so you
- Kyle Furlong (5/39) Apr 06 2005 Well, if phobos.lib and mango_r.lib define them, but both are necessary ...
- Regan Heath (10/55) Apr 07 2005 I'd suggesting posting your problem here also:
I just started using the Mango lib from dsource.org and I am getting this when I try to compile: C:\Documents and Settings\Administrator\My Documents\StockBot>dmd MainWindow.d P rogram.d WebBot.d dfl.lib phobos.lib mango_r.lib wsock32.lib -I"C:\d\dm\include" -I"C:\d\dm\lib" -I"C:\d\dmd\lib" C:\d\dmd\bin\..\..\dm\bin\link.exe MainWindow+Program+WebBot,,,dfl.lib+phobos.li b+mango_r.lib+wsock32.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE372H Record Type 0091 Error 1: Previous Definition Different : _WSADESCRIPTION_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE38AH Record Type 0091 Error 1: Previous Definition Different : _WSASYS_STATUS_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3C2H Record Type 0091 Error 1: Previous Definition Different : _IOCPARM_MASK C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3D5H Record Type 0091 Error 1: Previous Definition Different : _IOC_IN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3E3H Record Type 0091 Error 1: Previous Definition Different : _FIONBIO --- errorlevel 5 Any ideas?
Apr 06 2005
On Wed, 6 Apr 2005 13:44:01 -0700, Kyle Furlong <ky220 umail.ucsb.edu> wrote:I just started using the Mango lib from dsource.org and I am getting this when I try to compile: C:\Documents and Settings\Administrator\My Documents\StockBot>dmd MainWindow.d P rogram.d WebBot.d dfl.lib phobos.lib mango_r.lib wsock32.lib -I"C:\d\dm\include" -I"C:\d\dm\lib" -I"C:\d\dmd\lib" C:\d\dmd\bin\..\..\dm\bin\link.exe MainWindow+Program+WebBot,,,dfl.lib+phobos.li b+mango_r.lib+wsock32.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE372H Record Type 0091 Error 1: Previous Definition Different : _WSADESCRIPTION_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE38AH Record Type 0091 Error 1: Previous Definition Different : _WSASYS_STATUS_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3C2H Record Type 0091 Error 1: Previous Definition Different : _IOCPARM_MASK C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3D5H Record Type 0091 Error 1: Previous Definition Different : _IOC_IN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3E3H Record Type 0091 Error 1: Previous Definition Different : _FIONBIO --- errorlevel 5 Any ideas?At a guess phobos.lib and mango_r.lib both define these things, so you have a double-up. Also, why -I"C:\d\dm\include", I believe that is the include path for the DM C compiler, not the D compiler. Regan
Apr 06 2005
"Regan Heath" <regan netwin.co.nz> wrote in message news:opsoufmkz223k2f5 nrage.netwin.co.nz...On Wed, 6 Apr 2005 13:44:01 -0700, Kyle Furlong <ky220 umail.ucsb.edu> wrote:Well, if phobos.lib and mango_r.lib define them, but both are necessary for the compile, how do I resolve the issue? The include was cause I was trying all sorts of things to get it to work :-PI just started using the Mango lib from dsource.org and I am getting this when I try to compile: C:\Documents and Settings\Administrator\My Documents\StockBot>dmd MainWindow.d P rogram.d WebBot.d dfl.lib phobos.lib mango_r.lib wsock32.lib -I"C:\d\dm\include" -I"C:\d\dm\lib" -I"C:\d\dmd\lib" C:\d\dmd\bin\..\..\dm\bin\link.exe MainWindow+Program+WebBot,,,dfl.lib+phobos.li b+mango_r.lib+wsock32.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE372H Record Type 0091 Error 1: Previous Definition Different : _WSADESCRIPTION_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE38AH Record Type 0091 Error 1: Previous Definition Different : _WSASYS_STATUS_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3C2H Record Type 0091 Error 1: Previous Definition Different : _IOCPARM_MASK C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3D5H Record Type 0091 Error 1: Previous Definition Different : _IOC_IN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3E3H Record Type 0091 Error 1: Previous Definition Different : _FIONBIO --- errorlevel 5 Any ideas?At a guess phobos.lib and mango_r.lib both define these things, so you have a double-up. Also, why -I"C:\d\dm\include", I believe that is the include path for the DM C compiler, not the D compiler. Regan
Apr 06 2005
On Wed, 6 Apr 2005 22:20:43 -0700, Kyle Furlong <ky220 umail.ucsb.edu> wrote:"Regan Heath" <regan netwin.co.nz> wrote in message news:opsoufmkz223k2f5 nrage.netwin.co.nz...I'd suggesting posting your problem here also: http://www.dsource.org/forums/viewforum.php?f=5 as Kris will undoubtable be able to confirm/deny my suspician and probably give advice on how to solve it. I would guess that you are going to need to re-compile one or the other library without the duplicate symbols.On Wed, 6 Apr 2005 13:44:01 -0700, Kyle Furlong <ky220 umail.ucsb.edu> wrote:Well, if phobos.lib and mango_r.lib define them, but both are necessary for the compile, how do I resolve the issue?I just started using the Mango lib from dsource.org and I am getting this when I try to compile: C:\Documents and Settings\Administrator\My Documents\StockBot>dmd MainWindow.d P rogram.d WebBot.d dfl.lib phobos.lib mango_r.lib wsock32.lib -I"C:\d\dm\include" -I"C:\d\dm\lib" -I"C:\d\dmd\lib" C:\d\dmd\bin\..\..\dm\bin\link.exe MainWindow+Program+WebBot,,,dfl.lib+phobos.li b+mango_r.lib+wsock32.lib+user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE372H Record Type 0091 Error 1: Previous Definition Different : _WSADESCRIPTION_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE38AH Record Type 0091 Error 1: Previous Definition Different : _WSASYS_STATUS_LEN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3C2H Record Type 0091 Error 1: Previous Definition Different : _IOCPARM_MASK C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3D5H Record Type 0091 Error 1: Previous Definition Different : _IOC_IN C:\d\dmd\bin\..\lib\mango_r.lib(Socket) Offset FE3E3H Record Type 0091 Error 1: Previous Definition Different : _FIONBIO --- errorlevel 5 Any ideas?At a guess phobos.lib and mango_r.lib both define these things, so you have a double-up. Also, why -I"C:\d\dm\include", I believe that is the include path for the DM C compiler, not the D compiler. ReganThe include was cause I was trying all sorts of things to get it to work :-PI suspected that might be it. Regan
Apr 07 2005