Log in

View Full Version : compiling fairuse 0.43b


Wilbert
28th May 2004, 20:26
I would like some help with compiling fairuse 0.43b (see general discussion forum for download link).

I'm using VC++ 6.0 SP5 (standard ed., thus no processor pack). I included the necessary libs. The cpp's are compiling fine. When compiling the release exe, I got the following link errors:

Linking...
Aspi.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl NtScsiSendASPI32Command(void *)" (?NtScsiSendASPI32Command@@YAKPAX@Z)
Aspi.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl NtScsiGetASPI32SupportInfo(void)" (?NtScsiGetASPI32SupportInfo@@YAKXZ)
Aspi.obj : error LNK2001: unresolved external symbol "int __cdecl NtScsiInit(void)" (?NtScsiInit@@YAHXZ)
Aspi.obj : error LNK2001: unresolved external symbol "int __cdecl NtScsiDeInit(void)" (?NtScsiDeInit@@YAHXZ)
Aspi.obj : error LNK2001: unresolved external symbol "unsigned long __cdecl NtScsiExecSCSICommand(struct SRB_EXECSCSICMD *,int)" (?NtScsiExecSCSICommand@@YAKPAUSRB_EXECSCSICMD@@H@Z)
Aspi.obj : error LNK2001: unresolved external symbol "bool __cdecl NtScsiIsCDROM(unsigned int)" (?NtScsiIsCDROM@@YA_NI@Z)
Aspi.obj : error LNK2001: unresolved external symbol "unsigned char __cdecl NtScsiGetDeviceIndex(unsigned char,unsigned char,unsigned char)" (?NtScsiGetDeviceIndex@@YAEEEE@Z)
Project.obj : error LNK2001: unresolved external symbol _memcopy

etc ...

Any ideas?

Nic
29th May 2004, 09:17
I haven't tried myself...but those externals should be in:
NTScsi.cpp
Is that file definitely being compiled too?

As for the memcopy, that sounds like the AMD optimised memcopy. If you can't find it, just change the function to memcpy to compile it.

Hope that's some use, if you're still stuck, ill go compile it.

-Nic

Wilbert
29th May 2004, 10:51
I haven't tried myself...but those externals should be in:
NTScsi.cpp
Thanks! Indeed, some files were not included in the included project file.

I will try again tomorrow. Have to leave now ...

UMP
29th May 2004, 19:15
The sources are in .NET 2003 format, and can't be compiled "as is" with VS6 because several files are missing in the VS6 project file.

With .NET 2003 all you'll have to do is to open the FU.sln solution and hit the build button.

Regards,

ump