[ofw] RE: Errors from compiling WinOF 1.1 RC3

Smith, Stan stan.smith at intel.com
Thu May 8 14:27:04 PDT 2008


James Yang wrote:
> Hi,
> 
> I'm trying to test mlx4 support. However I was not able to compile the
> code from the branch rev 1035 with WDK 6000. Did anyone see the same
> problem?

Hello,
  You are on the fringe.... :-)

I'm not entirely sure what you mean by compiling WinOF RC3 as RC3 ==
svn.1135?
First off WinOF 1.1 RC3 was constructed from gen1\branches\WinOF1-1, by
first
building comlib, al & hw\mlx4 in the WDK 6000 environment [x64 & x86
only]
Next get a DDK build environment and build branches\WinOF1-1 explicitly
using 'build /wgc'; same tree except hw\dirs doesn't point at mlx4 and
/c
Regenerated ibal/complib.

Option #2

Build the trunk with WDK 6001.18001. I'm informed that this will build
although
I have not yet tried this myself.

S.

At this point in time your options are to build from the trunk\
> 
> c:\ib\1135rc31.1\core seems ok to use DDK compiler.
> 
> Here is the error message:
> 
> errors in directory c:\ib\1135rc31.1\hw\mlx4\kernel\hca
> c:\ib\1135rc31.1\hw\mlx4\kernel\hca\ntoskrnl.lib(ntoskrnl.exe) : error
> LNK2005: _KeInitializeSpinLock at 4 already defined in data.obj
> c:\ib\1135rc31.1\bin\kernel\objchk_wnet_x86\i386\mlx4_hca.sys : error
> LNK1169: one or more multiply defined symbols found
> errors in directory c:\ib\1135rc31.1\hw\mlx4\kernel\bus\drv
> c:\ib\1135rc31.1\hw\mlx4\kernel\bus\drv\ntoskrnl.lib(ntoskrnl.exe) :
> error LNK2005: _KeInitializeSpinLock at 4 already defined in
> mlx4_core.lib(l2w.obj)
> c:\ib\1135rc31.1\bin\kernel\objchk_wnet_x86\i386\mlx4_bus.sys : error
> LNK1169: one or more multiply defined symbols found
> 
> errors in directory c:\ib\1135rc31.1\core\al\user
> c:\ib\1135rc31.1\core\al\al_srq.c(406) : error C1001: An internal
> error has occurred in the compiler.
> c:\ib\1135rc31.1\core\al\user\ual_pnp.c(491) : error C1001: An
> internal error has occurred in the compiler.
> c:\ib\1135rc31.1\core\al\user\objchk_wnet_x86\i386\al_srq.obj : error
> LNK1136: invalid or corrupt file
> errors in directory c:\ib\1135rc31.1\core\al\kernel
> c:\ib\1135rc31.1\core\al\al_srq.c(406) : error C1001: An internal
> error has occurred in the compiler.
> c:\ib\1135rc31.1\core\al\kernel\al_pnp.c(440) : error C1001: An
> internal error has occurred in the compiler.
> c:\ib\1135rc31.1\core\al\kernel\objchk_wnet_x86\i386\al_srq.obj :
> error LNK1136: invalid or corrupt file
> errors in directory c:\ib\1135rc31.1\core\bus\kernel
> NMAKE : fatal error U1073: don't know how to make
> '..\..\..\bin\kernel\objchk_wnet_x86\i386\ibal.lib'
> nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1
> NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=
> MAKEDIR_LOWERCASE=c:\ib\1135rc31.1\core\bus\kernel failed - rc = 2
> 
> 
> 
> Thanks,
> James




More information about the ofw mailing list