AVR32 Studio problems...

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using a managed make in AVR32 studio and I get the following error when bulding a projct that has reference to another project.

*** multiple target patterns.  Stop.	AvrReceiver/Debug	makefile	line 35	1178091762192	53

And when I check the line it states (make):

# Tool invocations
AvrReceiver.elf: $(OBJS) $(USER_OBJS) C:/AVR32/AVR32studio/workspaceTest3/Analyze/Debug/Analyze.exe
	@echo 'Building target: $@'
	@echo 'Invoking: AVR32/GNU Linux C Linker'
	avr32-linux-gcc -mpart=ap7000 -o"AvrReceiver.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

Anyone experianced somthing like this?

This happends when I have included one other project into my project ( Project Reference )

When I don't have this reference on the build works ok but if I do a second buld without clean first I get:

*** multiple target patterns.  Stop.	AvrReceiver/Debug	main.d	line 1	1178092104746	60

The file main.d looks like this:

main.d main.o: ../main.c \
  C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/TestEnable.h \
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/Basic.h \
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/CUnit.h \
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/CUError.h \
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/TestDB.h \
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/TestRun.h
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/TestEnable.h:
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/Basic.h:
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/CUnit.h:
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/CUError.h:
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/TestDB.h:
C:/AVR32/AVR32studio/workspaceTest3/AvrReceiver/TestManager/CUnit/TestRun.h:

Anyone know what I might be dooing wrong?

Appreciate all help!

Life's to short for waiting on slow CPU's

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You've run into one of our known issues:
Bug #5452
Referencing external folders in managed make projects when using GNU make 3.81 causes build failures. This is caused by GNU make no longer supporting Windows-style path names. GNU make 3.80 works as expected.

The known issues are described in the release notes, which are available on atmel.com. They are also included in the AVR32 Studio Help.

Note that the release notes were not available on the website until quite recently, and the links in the Welcome page appear to be buggy, so I'm not blaming you for not reading them. This will be addressed for the 1.0 release.

Run the cygwin setup.exe and try to downgrade Make to 3.80, that should help.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok I'l try that. Thanx

Life's to short for waiting on slow CPU's

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Only problem is how do i get the 3.8 isted of 3.8.1 version on cygwin?

Life's to short for waiting on slow CPU's

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Find the make package in the cygwin setup.exe, if you click the version number you should be able to cycle through a few. Note that you're looking for 3.80 from 3.81 (rather than 3.8.1 ;) )

-S.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can only see 3.8.1 in my list. Arg... ( and yes I clicked in the right spot to cycle )

Life's to short for waiting on slow CPU's