Angus.Fox@uk.sun.com (Angus Fox - Sun EHQ - Sitka) (02/25/91)
So I received gleefully my update to C6.00a from Microsoft and I install it over the top of my existing compiler. I had already installed the SDK and built the sample apps. Now when I run NMAKE generic in the samples directory it says NMAKE : warning U4004: too many rules for target 'generic.exe' I think it might have said that before but continued anyway. I'm only learning so I would appreciate some help to make my samples work again. thanks Angus Fox Sun Microsystems Europe Inc Internet:Angus.Fox@uk.sun.com AppleLink:SITKAEUROPE Phone +44 276 51440
risto@tuura.UUCP (Risto Lankinen) (02/26/91)
Angus.Fox@uk.sun.com (Angus Fox - Sun EHQ - Sitka) writes: >Now when I run NMAKE generic in the samples directory it says >NMAKE : warning U4004: too many rules for target 'generic.exe' Hi! If you're using the PWB (or have probably been using it for non-Windows programming before, or it comes from a shared network drive), there may be either colliding or simply too many rules in the TOOLS.INI . This is just a guess, but if the NMAKE sees the TOOLS.INI , you should check the rules listed in it under the section tag [nmake], [pwb-nmake] or similar (if no such section exists, the problem is somewhere else). Another guess is, that the NMAKE allocates memory dynamically, but there is not quite enough left free. If so, try rebuilding either with NMK, or outside of Windows or PWB (should you've been running NMAKE from within this far). Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 2 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 -1 is PRIME! Now working on 2 +1 * replies: risto@yj.data.nokia.fi ***************************************
wolf@netcom.COM (Phil Escobar) (02/27/91)
Angus.Fox@uk.sun.com (Angus Fox - Sun EHQ - Sitka) writes: >Now when I run NMAKE generic in the samples directory it says >NMAKE : warning U4004: too many rules for target 'generic.exe' I don't know if this has been touched before, but most Windows makefiles have two rules for the target .exe. One is dependant on the objects to be linked, and the other is dependant on the resources to be added. This is so that if you alter the .rc file, you won't need to relink. NMAKE just gives a little hiccup when it sees two rules for one .exe file. - Phil @ Buckskin Technologies