Link buslogic.sys against libcntpr. This should fix "undefined reference" errors reported on the forum.

svn path=/trunk/; revision=46217
This commit is contained in:
Dmitry Gorbachev 2010-03-15 22:54:09 +00:00
parent f64f8479d9
commit 96ae173fea
2 changed files with 1 additions and 35 deletions

View file

@ -79,40 +79,6 @@ v1.2.0.2 // Fix PR 40284 correctly, disable interrupts in the initialization ro
#include "BusLogic958.h" #include "BusLogic958.h"
int strcmp(const char* s1, const char* s2)
{
while(*s1 == *s2)
{
if(*s1 == 0) return 0;
s1 ++;
s2 ++;
}
return *s1 - *s2;
}
char * strcat(char * s, const char * append)
{
char * save = s;
for(; *s; ++s);
while((*s++ = *append++));
return save;
}
char * strcpy(char * to, const char * from)
{
char *save = to;
for (; (*to = *from); ++from, ++to);
return save;
}
ULONG ULONG
NTAPI NTAPI
DriverEntry(IN PVOID DriverObject, DriverEntry(IN PVOID DriverObject,

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd"> <!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="buslogic" type="kernelmodedriver" installbase="system32/drivers" installname="buslogic.sys"> <module name="buslogic" type="kernelmodedriver" installbase="system32/drivers" installname="buslogic.sys" crt="libcntpr">
<bootstrap installbase="$(CDOUTPUT)" /> <bootstrap installbase="$(CDOUTPUT)" />
<include base="buslogic">.</include> <include base="buslogic">.</include>
<library>scsiport</library> <library>scsiport</library>