Re: Another Rotor build problem - problem found.

John Locke <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <[email protected]>
As soon as my buddy Todd responded, we found the
problem.  I had put that include directory in the
src/vm source.inc because I was trying to use
STL in one of the files.  So, I took out the offending
include file but I still have the question.  Can you
use STL in Rotor?

thanks,

John

--- Barry Bond <[email protected]> wrote:
> Files under clr\src shouldn't be including the
> Visual Studio version of
> stdlib.h:  the SSCLI tree provides its own version,
> in palrt\inc.  Can
> you confirm that
> E:\taanders\ROTORP\palrt\inc\stdlib.h exists and is
> 696
> bytes long?
>
> Also, please check that you don't have an INCLUDE
> environment variable
> set - if one is set, it may interfere with the SSCLI
> build process.
>
> Barry
> This posting is provided "AS IS" with no warranties,
> and confers no
> rights.
>
> -----Original Message-----
> From: Discussion of the Rotor Shared Source CLI
> implementation
> [mailto:[email protected]] On Behalf
> Of John Locke
> Sent: Friday, August 22, 2003 11:00 AM
> To: [email protected]
> Subject: [DOTNET-ROTOR] Another Rotor build problem.
>
> All of a sudden, when I try to compile Rotor, it is
> unable to precompile common.h.  Opening builddf.log
> you find the below.  I think that I've verified that
> none of the files have changed so I don't know what
> is going on.  Please help!
>
> John
>
>
> cl -nologo  /Tp ..\common.cpp  -Ii386\ -I.
> -IE:\taanders\ROTORP\clr\src\inc\version -I..
> -I..\i386 -Iobjdf\rotor_x86 -I..\..\inc
> -I..\..\inc\objdf\rotor_x86
> -I..\..\classlibnative\inc
> -I..\..\md\inc -I..\..\xmlparser
> -I..\..\clijit\orp-include
> -Ic:\progra~1\micros~1.net\vc7\include
> -IE:\taanders\ROTORP\clr\public\oak\inc
> -IE:\taanders\ROTORP\pal
> -IE:\taanders\ROTORP\palrt\inc -Di386 -D_X86_
> -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_UP=1
> -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1
> -D_WIN32_WINNT=0x0400 -DWINVER=0x0400
> -D_WIN32_IE=0x0400    -DWIN32_LEAN_AND_MEAN=1
> -DNTMAKEENV -D_DEBUG -DDEBUGGING_SUPPORTED
> -DPROFILING_SUPPORTED -DFUSION_SUPPORTED
> -DPLATFORM_WIN32 -DFEATURE_PAL -DUSE_CDECL_HELPERS
> -DPAL_PORTABLE_SEH -DDBG=1 -DDEVL=1 -DFPO=0
> -D_DEBUG -DNTMAKEENV -D_DEBUG -DDEBUGGING_SUPPORTED
> -DPROFILING_SUPPORTED -DFUSION_SUPPORTED
> -DPLATFORM_WIN32 -DFEATURE_PAL -DUSE_CDECL_HELPERS
> -DPAL_PORTABLE_SEH    /c /Zel /Zp8 /Gy  -Wp64 /Gz
> /QIfdiv- /QIf /QI0f  /Gi /Gm /GX-  /GR- /GF  /Zi /O1
> /G6 /Oy-
>
/FdE:\taanders\ROTORP\clr\bin\rotor_x86\fastchecked\cee_wks.pdb
>
/FRe:\taanders\rotorp\clr\src\vm\wks\objdf\rotor_x86\
> /EHs- /EHa- /EHc- -DUNICODE -D_UNICODE -DCOMPLUS_EE
> -DENABLE_PERF_COUNTERS -W4 -DNO_CRT /WX
> /Ylfastchecked\cee_wks /Yccommon.h
> /Fpobjdf\rotor_x86\common.pch
>
/Fo"e:\taanders\rotorp\clr\src\vm\wks\objdf\rotor_x86\common.obj"
>
> common.cpp
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(183) : error C2373:
> 'PAL_errno' : redefinition; different type modifiers
>
>         E:\taanders\ROTORP\pal\rotor_pal.h(3409) :
> see
> declaration of 'PAL_errno'
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(251) : warning C4273:
> 'exit'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(260) : warning C4273:
> 'abs'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(264) : warning C4273:
> 'atof'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(265) : warning C4273:
> 'atoi'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(266) : warning C4273:
> 'atol'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(268) : warning C4273:
> 'bsearch' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(274) : warning C4273:
> 'free'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(275) : warning C4273:
> 'getenv' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(287) : warning C4273:
> 'labs'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(291) : warning C4273:
> 'malloc' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(297) : warning C4273:
> 'qsort' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(298) : warning C4273:
> 'rand'
> : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(299) : warning C4273:
> 'realloc' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(305) : warning C4273:
> 'srand' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(306) : warning C4273:
> 'strtod' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(308) : warning C4273:
> 'strtoul' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(319) : warning C4273:
> '_itow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(322) : warning C4273:
> 'wcstod' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(323) : warning C4273:
> 'wcstol' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(324) : warning C4273:
> 'wcstoul' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(328) : warning C4273:
> '_wtoi' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(331) : warning C4273:
> '_i64tow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(332) : warning C4273:
> '_ui64tow' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(344) : warning C4273:
> '_ecvt' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(351) : warning C4273:
> '_fullpath' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(352) : warning C4273:
> '_gcvt' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(356) : warning C4273:
> '_makepath' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\stdlib.h(359) : warning C4273:
> '_putenv' : inconsistent dll linkage
>
> c:\Program Files\Microsoft Visual Studio
>
=== message truncated ===


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.