a question about targetlibs

Dear all my friends. I am a novice and I am trying to build some
sourcecode.However I can’t successfully make it.

TARGETLIBS=…......\OBJ*$(DDKBUILDENV)\sample1.lib …......\OBJ*$(DDKBUILDENV)\ntioctl.lib $(BASEDIR)\lib*$(DDKBUILDENV)\scsiport.lib
In the sources. there are not sample1.lib and ntioctl.lib.

2.The error message is :
NMAKE:U1073 "Don’t know how to make
'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib

  1. By now I can’t clearly understand what’s the meaning of targetlib.
    If the targetlib can not be exist before complete the build?

Thanks very much

best regards
yours sincerely


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

TARGETLIBS specifies the set of import libraries with which your driver must
be linked.
If your Driver must link with other libraries, these libraries must be
specified in the TARGETLIBS statement in your sources file. These libraries
must be specified with the
"*" notation.

Following is an example:
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib $(SDK_LIB_PATH)\advapi32.lib $(SDK_LIB_PATH)\user32.lib $(SDK_LIB_PATH)\spoolss.lib

The error message is: NMAKE:U1073 "Don’t know how to make
'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib

The above error messages means that NMAKE is unable to locate this .lib file
in the specified path. You need to have this file before you can compile
successfully.

Niraj

-----Original Message-----
From: xxxxx@arl.nus.edu.sg [mailto:xxxxx@arl.nus.edu.sg]
Sent: Sunday, January 28, 2001 7:43 PM
To: NT Developers Interest List
Subject: [ntdev] a question about targetlibs

Dear all my friends. I am a novice and I am trying to build some
sourcecode.However I can’t successfully make it.

TARGETLIBS=…......\OBJ*$(DDKBUILDENV)\sample1.lib …......\OBJ*$(DDKBUILDENV)\ntioctl.lib $(BASEDIR)\lib*$(DDKBUILDENV)\scsiport.lib
In the sources. there are not sample1.lib and ntioctl.lib.

2.The error message is :
NMAKE:U1073 "Don’t know how to make
'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib

  1. By now I can’t clearly understand what’s the meaning of targetlib.
    If the targetlib can not be exist before complete the build?

Thanks very much

best regards
yours sincerely


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Dear friend,
If we can get the sample1.lib during the build procedure?
----- Original Message -----
From: “Jaiswal, Niraj”
To: “NT Developers Interest List”
Sent: Monday, January 29, 2001 1:16 AM
Subject: [ntdev] RE: a question about targetlibs

> TARGETLIBS specifies the set of import libraries with which your driver
must
> be linked.
> If your Driver must link with other libraries, these libraries must be
> specified in the TARGETLIBS statement in your sources file. These
libraries
> must be specified with the
> "*" notation.
>
> Following is an example:
> TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib > $(SDK_LIB_PATH)\advapi32.lib > $(SDK_LIB_PATH)\user32.lib > $(SDK_LIB_PATH)\spoolss.lib
>
>
> > The error message is: NMAKE:U1073 "Don’t know how to make
> > 'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib
>
> The above error messages means that NMAKE is unable to locate this .lib
file
> in the specified path. You need to have this file before you can compile
> successfully.
>
> Niraj
>
>
> -----Original Message-----
> From: xxxxx@arl.nus.edu.sg [mailto:xxxxx@arl.nus.edu.sg]
> Sent: Sunday, January 28, 2001 7:43 PM
> To: NT Developers Interest List
> Subject: [ntdev] a question about targetlibs
>
>
> Dear all my friends. I am a novice and I am trying to build some
> sourcecode.However I can’t successfully make it.
>
> 1.
>
> TARGETLIBS=…......\OBJ*$(DDKBUILDENV)\sample1.lib > …......\OBJ*$(DDKBUILDENV)\ntioctl.lib > $(BASEDIR)\lib*$(DDKBUILDENV)\scsiport.lib
> In the sources. there are not sample1.lib and ntioctl.lib.
>
> 2.The error message is :
> NMAKE:U1073 "Don’t know how to make
> 'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib
>
> 3. By now I can’t clearly understand what’s the meaning of targetlib.
> If the targetlib can not be exist before complete the build?
>
> Thanks very much
>
> best regards
> yours sincerely
>
> —
> You are currently subscribed to ntdev as: xxxxx@arl.nus.edu.sg
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

TARGETLIBS is not where you specify what you are building, despite the name
which might lead you to believe that it is. TARGETLIBS only specifies
libraries you need to link into your build product. TARGETNAME specifies
the filename of the build product, and TARGETTYPE determines the filename
extension. For example, if you want to build sample1.lib, you set:

TARGETNAME=sample1
TARGETTYPE=LIBRARY

If you are trying to build sample1.sys, then set TARGETTYPE to DRIVER or
EXPORT_DRIVER, depending on whether your driver exports an interface.

Phil
* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab

-----Original Message-----
From: icq [mailto:xxxxx@arl.nus.edu.sg]
Sent: Monday, January 29, 2001 4:25 AM
To: NT Developers Interest List
Subject: [ntdev] RE: a question about targetlibs

Dear friend,
If we can get the sample1.lib during the build procedure?
----- Original Message -----
From: “Jaiswal, Niraj”
To: “NT Developers Interest List”
Sent: Monday, January 29, 2001 1:16 AM
Subject: [ntdev] RE: a question about targetlibs

> TARGETLIBS specifies the set of import libraries with which your driver
must
> be linked.
> If your Driver must link with other libraries, these libraries must be
> specified in the TARGETLIBS statement in your sources file. These
libraries
> must be specified with the
> "*" notation.
>
> Following is an example:
> TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib > $(SDK_LIB_PATH)\advapi32.lib > $(SDK_LIB_PATH)\user32.lib > $(SDK_LIB_PATH)\spoolss.lib
>
>
> > The error message is: NMAKE:U1073 "Don’t know how to make
> > 'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib
>
> The above error messages means that NMAKE is unable to locate this .lib
file
> in the specified path. You need to have this file before you can compile
> successfully.
>
> Niraj
>
>
> -----Original Message-----
> From: xxxxx@arl.nus.edu.sg [mailto:xxxxx@arl.nus.edu.sg]
> Sent: Sunday, January 28, 2001 7:43 PM
> To: NT Developers Interest List
> Subject: [ntdev] a question about targetlibs
>
>
> Dear all my friends. I am a novice and I am trying to build some
> sourcecode.However I can’t successfully make it.
>
> 1.
>
> TARGETLIBS=…......\OBJ*$(DDKBUILDENV)\sample1.lib > …......\OBJ*$(DDKBUILDENV)\ntioctl.lib > $(BASEDIR)\lib*$(DDKBUILDENV)\scsiport.lib
> In the sources. there are not sample1.lib and ntioctl.lib.
>
> 2.The error message is :
> NMAKE:U1073 "Don’t know how to make
> 'c:\sample\samples\nt\samplemini\obj\i386\checked\sample1.lib
>
> 3. By now I can’t clearly understand what’s the meaning of targetlib.
> If the targetlib can not be exist before complete the build?
>
> Thanks very much
>
> best regards
> yours sincerely
>
> —
> You are currently subscribed to ntdev as: xxxxx@arl.nus.edu.sg
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com