help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: Tobias Contreras
Subject: (no subject)
Date: Wed, 7 Jun 2006 17:05:41 -0400

Unfortuanatly I don’t know what information I need to provide for this problem.

 

 

In my makefile I have

 

DEFINES := $(DEFINES) -D$(HW_USB_CORE)

 

Variable HW_USB_CORE can be assigned as (USB_CORE_1,  USB_CORE_2,  USB_CORE_3)

When I compile I get an error from one of my header files that tries to compile
#error USB not supported on this processor!


 
#ifndef __USB_H_

#define __USB_H_

 

#if defined( USB_CORE_1 )

 #include "herc_usb.h"

#elif defined( USB_CORE_2 )

 #include "herc32_usb.h"

#elif defined( USB_CORE_3 )

 #include "msm_usb.h"

#else

 #error USB not supported on this processor!

#endif

 

#endif

 

I used $(warning) to tell me the contents of DEFINES and it shows –DUSB_CORE_1

So why then does it give me an error as if it isn’t Defined.

Once again I am converting from NMAKE to GNUMAKE and it worked in NMAKE so I am not sure what other GNUMAKE related changes are missing that would cause a problem like this.

 

Thanks
Tobias

Coop


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]