Hi everyone,

I'm having trouble linking sa_lcd2 directory !!!

When compiling.. everthing goes fine, but when linking
the sa_lcd2 directory... I'm getting two errors...
Can you help me with this one??

Thnx,
Eduardo Kelly

Linking c:\wince420
\platform\xsc1bd\drivers\display\sa_lcd2 directory
********************
'NMAKE.EXE -i -c BUILDMSG=Stop. LINKONLY=1 NOPASS0=1
NTTEST= UMTEST= MAKEDLL=1'
makefile.def: BUILDROOT is C:\WINCE420\PLATFORM\XSC1BD
makefile.def: including C:\WINCE420
\PLATFORM\XSC1BD\sources.cmn
set LIB=C:\WINCE420\sdk\CE\lib
link /LARGEADDRESSAWARE -out:C:\WINCE420
\platform\XSC1BD\target\ARMV4I\debug\sa_lcd2.dll -dll -
machine:thumb @C:\DOCUME~1\ALM000~1\LOCALS~1
\Temp\nm1AEC.tmp
Microsoft (R) Incremental Linker Version 6.24.3064
Copyright (C) Microsoft Corporation. All rights reserved.

-nodefaultlib
-entry:_DllMainCRTStartup
-debug -debugtype:cv -incremental:no -pdb:C:\WINCE420
\platform\XSC1BD\target\ARMV4I\debug\sa_lcd2.pdb
-map:C:\WINCE420
\platform\XSC1BD\target\ARMV4I\debug\sa_lcd2.map
-savebaserelocations:C:\WINCE420
\platform\XSC1BD\target\ARMV4I\debug\sa_lcd2.rel
-MERGE:.rdata=.text -merge:.astart=.text -align:4096 -
ignore:4001,4070,4078,4086,4089,4096,4099,4108 /STACK:6553
6,4096
-subsystem:windowsce,4.20
/base:0x10000000
obj\ARMV4I\debug\sa_lcd2.obj
C:\WINCE420\PUBLIC\TEST_S~1\WINCE420
\XSC1BD\cesysgen\sdk\lib\ARMV4I\debug\coredll.lib
C:\WINCE420\PUBLIC\TEST_S~1\WINCE420
\XSC1BD\cesysgen\oak\lib\ARMV4I\debug\gpe.lib C:\WINCE420
\PUBLIC\TEST_S~1\WINCE420
\XSC1BD\cesysgen\sdk\lib\ARMV4I\debug\corelibc.lib
C:\WINCE420\platform\XSC1BD\lib\ARMV4I\debug\sa_lcd2.exp
sa_lcd2.obj : error LNK2019: unresolved external symbol
set_BCRVal referenced in function "public: void __cdecl
SA_LCD2::InitializeHardware(void)" (?
InitializeHardware@SA_LCD2@@QAAXXZ)
sa_lcd2.obj : error LNK2019: unresolved external symbol
VirtualAllocCopy referenced in function "public: void
__cdecl SA_LCD2::InitializeHardware(void)" (?
InitializeHardware@SA_LCD2@@QAAXXZ)
C:\WINCE420
\platform\XSC1BD\target\ARMV4I\debug\sa_lcd2.dll : fatal
error LNK1120: 2 unresolved externals
Stop.

Can somebody help me PLEASE !!! :-(

Thanks,
Eduardo Kelly.

Re: having trouble linking sa_lcd2 directory !!!! by Yannick

Yannick
Fri Dec 05 07:31:51 CST 2003

you should add the drvlib in the targetlibs entry of your SOURCES file (look
at SA_LCD driver SOURCES file) : these functions are defined in drvlib

--
----------------------------------------------------------------
Yannick Chamming's
ADESET
Windows Embedded Manager
ychammings_AT_adeset_DOT_com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Eduardo Kelly" <eduardoky@hotmail.com> wrote in message
news:093e01c3bb33$01784010$a501280a@phx.gbl...
> Hi everyone,
> <