digitalmars.D - link problem: Symbol Undefined .text
- user domain.invalid (12/12) May 21 2008 Trying to get the G15 LCD SDK working in D.. Converted the Header over
Trying to get the G15 LCD SDK working in D.. Converted the Header over to D, converted the Lib to Omf... but cant get it to link.. wyverex>dmd test.obj sdk.obj lglcd.obj OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. lglcd.obj(lglcd) Error 42: Symbol Undefined .text lglcd.obj(lglcd) Error 42: Symbol Undefined .debug$F --- errorlevel 2 Any ideas on what I'm doing wrong? -Byron
May 21 2008
user domain.invalid wrote:Trying to get the G15 LCD SDK working in D.. Converted the Header over to D, converted the Lib to Omf... but cant get it to link.. wyverex>dmd test.obj sdk.obj lglcd.obj OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. lglcd.obj(lglcd) Error 42: Symbol Undefined .text lglcd.obj(lglcd) Error 42: Symbol Undefined .debug$F --- errorlevel 2 Any ideas on what I'm doing wrong? -ByronI found the linker (or at least it seems like it) from VS 6.0. I ran link /lib /convert lglcd.lib WinDiff says only difference is the time stamp..... When I run coff2omf that lib is half the size.... somethings not right...
May 21 2008
user domain.invalid wrote:Trying to get the G15 LCD SDK working in D.. Converted the Header over to D, converted the Lib to Omf... but cant get it to link.. wyverex>dmd test.obj sdk.obj lglcd.obj OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. lglcd.obj(lglcd) Error 42: Symbol Undefined .text lglcd.obj(lglcd) Error 42: Symbol Undefined .debug$F --- errorlevel 2 Any ideas on what I'm doing wrong? -Byroniirc there is a static library in the sdk for borland compilers that works.
May 25 2008
Lutger wrote:user domain.invalid wrote:I ended up writing a wrapper DLL in VS that I can access with SharedLib. Its working now. -ByronTrying to get the G15 LCD SDK working in D.. Converted the Header over to D, converted the Lib to Omf... but cant get it to link.. wyverex>dmd test.obj sdk.obj lglcd.obj OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. lglcd.obj(lglcd) Error 42: Symbol Undefined .text lglcd.obj(lglcd) Error 42: Symbol Undefined .debug$F --- errorlevel 2 Any ideas on what I'm doing wrong? -Byroniirc there is a static library in the sdk for borland compilers that works.
May 25 2008