Hello all,

I hope this is the correct group.

I get linker errors when I try to build the ASP sample in PUBLIC
\SERVERS\SDK\SAMPLES\HTTP\ASP on WinCE6.

The log below is after a successful full clean build.

SYSGEN_OLE*, SYSGEN_DCOM*, and SYSGEN_MINICOM* are all included.

Does anyone have any ideas?

Thank you.

Ryan





------ Build started: Project: Carrier, Configuration: Advantech
PCM9377 x86 Debug Platform Builder (_TGTCPU) ------
C:\WINCE600\public\servers\sdk\samples\http\ASP\sources
Starting Build: set WINCEREL=1&&build -c&&makeimg
==============
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:PROGC ] Build started with parameters: -c
BUILD: [00:0000000001:PROGC ] Build started in directory: C:
\WINCE600\public\servers\sdk\samples\http\ASP
BUILD: [00:0000000002:PROGC ] Checking for C:\WINCE600\sdk\bin
\i386\srccheck.exe.
BUILD: [00:0000000003:PROGC ] Running passes WCEFILES0, MIDL, MC, ASN,
THUNK, PRECOMPHEADER, COMPILE, LIB, LINK, MANAGEDRESX, MANAGEDMOD,
MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for x86.
BUILD: [00:0000000004:PROGC ] Ignoring build database (-c specified).
BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
BUILD: [00:0000000006:PROGC ] Checking for SDK include directory: C:
\WINCE600\sdk\CE\inc.
BUILD: [00:0000000007:PROGC ] Scan C:\WINCE600\public\servers\sdk
\samples\http\ASP\
BUILD: [00:0000000008:PROGC ] Saving C:\WINCE600\public\servers
\Build.dat.
BUILD: [00:0000000010:PROGC ] Building WCEFILES0 Pass in C:
\WINCE600\public\servers\sdk\samples\http\ASP\ directory.
BUILD: [00:0000000023:PROGC ] Building MIDL Pass in C:\WINCE600\public
\servers\sdk\samples\http\ASP\ directory.
BUILD: [01:0000000033:PROGC ] Midl Compiling .\admin.idl
BUILD: [00:0000000074:PROGC ] Building COMPILE Pass in C:
\WINCE600\public\servers\sdk\samples\http\ASP\ directory.
BUILD: [01:0000000084:PROGC ] Resource Compiling .\httpadmasp.rc
BUILD: [01:0000000089:PROGC ] Compiling .\admin_dll.cpp
BUILD: [01:0000000093:PROGC ] Compiling .\stdafx.cpp
BUILD: [01:0000000100:PROGC ] Compiling .\settings.cpp
BUILD: [01:0000000104:PROGC ] Compiling .\vroots.cpp
BUILD: [01:0000000108:PROGC ] Compiling .\admin_i.c
BUILD: [00:0000000119:PROGC ] Building LIB Pass in C:\WINCE600\public
\servers\sdk\samples\http\ASP\ directory.
BUILD: [01:0000000129:PROGC ] Linking C:\WINCE600\public\servers\oak
\lib\x86\debug\Httpadmasp.lib
BUILD: [01:0000000138:WARNN ] stdafx.obj : warning LNK4221: no public
symbols found; archive member will be inaccessible
BUILD: [00:0000000152:PROGC ] Building LINK Pass in C:\WINCE600\public
\servers\sdk\samples\http\ASP\ directory.
BUILD: [01:0000000163:PROGC ] Linking C:\WINCE600\public\servers\oak
\target\x86\debug\Httpadmasp.dll
BUILD: [01:0000000182:ERRORE] admin_dll.obj : error LNK2001:
unresolved external symbol "class ATL::CAtlBaseModule
ATL::_AtlBaseModule" (?_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
BUILD: [01:0000000183:ERRORE] stdafx.obj : error LNK2001: unresolved
external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
BUILD: [01:0000000184:ERRORE] settings.obj : error LNK2001: unresolved
external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
BUILD: [01:0000000185:ERRORE] vroots.obj : error LNK2019: unresolved
external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A) referenced in function
"public: virtual long __cdecl CVroots::get_Count(long *)" (?
get_Count@CVroots@@UAAJPAJ@Z)
BUILD: [01:0000000186:ERRORE] admin_dll.obj : error LNK2001:
unresolved external symbol "class ATL::CAtlComModule
ATL::_AtlComModule" (?_AtlComModule@ATL@@3VCAtlComModule@1@A)
BUILD: [01:0000000187:ERRORE] C:\WINCE600\public\servers\oak\target
\x86\debug\Httpadmasp.dll : fatal error LNK1120: 2 unresolved
externals
BUILD: [00:0000000202:PROGC ] Files Warnings
Errors
BUILD: [00:0000000203:PROGC ] Midl 1
0 0
BUILD: [00:0000000204:PROGC ] Message 0
0 0
BUILD: [00:0000000205:PROGC ] Precomp Header 0
0 0
BUILD: [00:0000000206:PROGC ] Resource 1
0 0
BUILD: [00:0000000207:PROGC ] MASM 0
0 0
BUILD: [00:0000000208:PROGC ] SHASM 0
0 0
BUILD: [00:0000000209:PROGC ] ARMASM 0
0 0
BUILD: [00:0000000210:PROGC ] MIPSASM 0
0 0
BUILD: [00:0000000211:PROGC ] C++ 4
0 0
BUILD: [00:0000000212:PROGC ] C 1
0 0
BUILD: [00:0000000213:PROGC ] Static Libraries 0
0 0
BUILD: [00:0000000214:PROGC ] Exe's 0
0 0
BUILD: [00:0000000215:PROGC ] Dll's 2
1 6
BUILD: [00:0000000216:PROGC ] Preprocess deffile 0
0 0
BUILD: [00:0000000217:PROGC ] Resx 0
0 0
BUILD: [00:0000000218:PROGC ] CSharp Compile 0
0 0
BUILD: [00:0000000219:PROGC ] Other 0
0 1
BUILD: [00:0000000220:PROGC ]
BUILD: [00:0000000221:PROGC ] Total 9
1 7
BUILD: [00:0000000222:PROGC ]
BUILD: [00:0000000223:PROGC ] 1 Warnings, 7 Errors
BUILD: [00:0000000224:PROGC ] GetSystemTimes (seconds): Idle: 0
Kernel: 2 User: 5
BUILD: [00:0000000225:PROGC ] Elapsed time (seconds): 8
Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
File names: Build.log Build.wrn Build.err Build.dat
C:\WINCE600\public\servers\sdk\samples\http\ASP\sources - 6 error(s),
1 warning(s)
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped
==========

Re: Linker errors with ASP sample by Bruce

Bruce
Thu Mar 13 15:20:18 PDT 2008

Looks like Micosoft doesn't build it that way, by that way I mean the way
that they tell us to build it in the readme. Take a look at
Servers\Cesysgen\Makefile, you will see there that they link with some other
libraries that you will need to add to the sources file.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

<ry_clark@yahoo.com> wrote in message
news:6c5aa19f-931d-4a7a-b63a-cd592eb699a4@s19g2000prg.googlegroups.com...
> Hello all,
>
> I hope this is the correct group.
>
> I get linker errors when I try to build the ASP sample in PUBLIC
> \SERVERS\SDK\SAMPLES\HTTP\ASP on WinCE6.
>
> The log below is after a successful full clean build.
>
> SYSGEN_OLE*, SYSGEN_DCOM*, and SYSGEN_MINICOM* are all included.
>
> Does anyone have any ideas?
>
> Thank you.
>
> Ryan
>
>
>
>
>
> ------ Build started: Project: Carrier, Configuration: Advantech
> PCM9377 x86 Debug Platform Builder (_TGTCPU) ------
> C:\WINCE600\public\servers\sdk\samples\http\ASP\sources
> Starting Build: set WINCEREL=1&&build -c&&makeimg
> ==============
> BUILD: [Thrd:Sequence:Type ] Message
> BUILD: [00:0000000000:PROGC ] Build started with parameters: -c
> BUILD: [00:0000000001:PROGC ] Build started in directory: C:
> \WINCE600\public\servers\sdk\samples\http\ASP
> BUILD: [00:0000000002:PROGC ] Checking for C:\WINCE600\sdk\bin
> \i386\srccheck.exe.
> BUILD: [00:0000000003:PROGC ] Running passes WCEFILES0, MIDL, MC, ASN,
> THUNK, PRECOMPHEADER, COMPILE, LIB, LINK, MANAGEDRESX, MANAGEDMOD,
> MANAGEDDLL, MANAGEDEXE, MANAGEDWIN for x86.
> BUILD: [00:0000000004:PROGC ] Ignoring build database (-c specified).
> BUILD: [00:0000000005:PROGC ] Computing include file dependencies:
> BUILD: [00:0000000006:PROGC ] Checking for SDK include directory: C:
> \WINCE600\sdk\CE\inc.
> BUILD: [00:0000000007:PROGC ] Scan C:\WINCE600\public\servers\sdk
> \samples\http\ASP\
> BUILD: [00:0000000008:PROGC ] Saving C:\WINCE600\public\servers
> \Build.dat.
> BUILD: [00:0000000010:PROGC ] Building WCEFILES0 Pass in C:
> \WINCE600\public\servers\sdk\samples\http\ASP\ directory.
> BUILD: [00:0000000023:PROGC ] Building MIDL Pass in C:\WINCE600\public
> \servers\sdk\samples\http\ASP\ directory.
> BUILD: [01:0000000033:PROGC ] Midl Compiling .\admin.idl
> BUILD: [00:0000000074:PROGC ] Building COMPILE Pass in C:
> \WINCE600\public\servers\sdk\samples\http\ASP\ directory.
> BUILD: [01:0000000084:PROGC ] Resource Compiling .\httpadmasp.rc
> BUILD: [01:0000000089:PROGC ] Compiling .\admin_dll.cpp
> BUILD: [01:0000000093:PROGC ] Compiling .\stdafx.cpp
> BUILD: [01:0000000100:PROGC ] Compiling .\settings.cpp
> BUILD: [01:0000000104:PROGC ] Compiling .\vroots.cpp
> BUILD: [01:0000000108:PROGC ] Compiling .\admin_i.c
> BUILD: [00:0000000119:PROGC ] Building LIB Pass in C:\WINCE600\public
> \servers\sdk\samples\http\ASP\ directory.
> BUILD: [01:0000000129:PROGC ] Linking C:\WINCE600\public\servers\oak
> \lib\x86\debug\Httpadmasp.lib
> BUILD: [01:0000000138:WARNN ] stdafx.obj : warning LNK4221: no public
> symbols found; archive member will be inaccessible
> BUILD: [00:0000000152:PROGC ] Building LINK Pass in C:\WINCE600\public
> \servers\sdk\samples\http\ASP\ directory.
> BUILD: [01:0000000163:PROGC ] Linking C:\WINCE600\public\servers\oak
> \target\x86\debug\Httpadmasp.dll
> BUILD: [01:0000000182:ERRORE] admin_dll.obj : error LNK2001:
> unresolved external symbol "class ATL::CAtlBaseModule
> ATL::_AtlBaseModule" (?_AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
> BUILD: [01:0000000183:ERRORE] stdafx.obj : error LNK2001: unresolved
> external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
> _AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
> BUILD: [01:0000000184:ERRORE] settings.obj : error LNK2001: unresolved
> external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
> _AtlBaseModule@ATL@@3VCAtlBaseModule@1@A)
> BUILD: [01:0000000185:ERRORE] vroots.obj : error LNK2019: unresolved
> external symbol "class ATL::CAtlBaseModule ATL::_AtlBaseModule" (?
> _AtlBaseModule@ATL@@3VCAtlBaseModule@1@A) referenced in function
> "public: virtual long __cdecl CVroots::get_Count(long *)" (?
> get_Count@CVroots@@UAAJPAJ@Z)
> BUILD: [01:0000000186:ERRORE] admin_dll.obj : error LNK2001:
> unresolved external symbol "class ATL::CAtlComModule
> ATL::_AtlComModule" (?_AtlComModule@ATL@@3VCAtlComModule@1@A)
> BUILD: [01:0000000187:ERRORE] C:\WINCE600\public\servers\oak\target
> \x86\debug\Httpadmasp.dll : fatal error LNK1120: 2 unresolved
> externals
> BUILD: [00:0000000202:PROGC ] Files Warnings
> Errors
> BUILD: [00:0000000203:PROGC ] Midl 1
> 0 0
> BUILD: [00:0000000204:PROGC ] Message 0
> 0 0
> BUILD: [00:0000000205:PROGC ] Precomp Header 0
> 0 0
> BUILD: [00:0000000206:PROGC ] Resource 1
> 0 0
> BUILD: [00:0000000207:PROGC ] MASM 0
> 0 0
> BUILD: [00:0000000208:PROGC ] SHASM 0
> 0 0
> BUILD: [00:0000000209:PROGC ] ARMASM 0
> 0 0
> BUILD: [00:0000000210:PROGC ] MIPSASM 0
> 0 0
> BUILD: [00:0000000211:PROGC ] C++ 4
> 0 0
> BUILD: [00:0000000212:PROGC ] C 1
> 0 0
> BUILD: [00:0000000213:PROGC ] Static Libraries 0
> 0 0
> BUILD: [00:0000000214:PROGC ] Exe's 0
> 0 0
> BUILD: [00:0000000215:PROGC ] Dll's 2
> 1 6
> BUILD: [00:0000000216:PROGC ] Preprocess deffile 0
> 0 0
> BUILD: [00:0000000217:PROGC ] Resx 0
> 0 0
> BUILD: [00:0000000218:PROGC ] CSharp Compile 0
> 0 0
> BUILD: [00:0000000219:PROGC ] Other 0
> 0 1
> BUILD: [00:0000000220:PROGC ]
> BUILD: [00:0000000221:PROGC ] Total 9
> 1 7
> BUILD: [00:0000000222:PROGC ]
> BUILD: [00:0000000223:PROGC ] 1 Warnings, 7 Errors
> BUILD: [00:0000000224:PROGC ] GetSystemTimes (seconds): Idle: 0
> Kernel: 2 User: 5
> BUILD: [00:0000000225:PROGC ] Elapsed time (seconds): 8
> Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
> File names: Build.log Build.wrn Build.err Build.dat
> C:\WINCE600\public\servers\sdk\samples\http\ASP\sources - 6 error(s),
> 1 warning(s)
> ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped
> ==========