Public bug reported:
## System Info ##
Description: Ubuntu 12.10
Release: 12.10
## Package Info ##
arduino-mk:
Installed: 0.8-4
Candidate: 0.8-4
Version table:
*** 0.8-4 0
500 http://ca.archive.ubuntu.com/ubuntu/ quantal/universe amd64
Packages
100 /var/lib/dpkg/status
## Description ##
I found that my user libs were not building with building my arduino sketch
using the Arduino.mk Makefile. The problem is fixed with the patch below.
## Patch ##
--- Arduino.mk.orig 2013-02-26 12:08:35.238987587 -0400
+++ Arduino.mk 2013-02-26 11:53:43.710954498 -0400
@@ -334,8 +334,8 @@
SYS_INCLUDES = $(patsubst %,-I%,$(SYS_LIBS)) $(patsubst %,-I%,$(USER_LIBS))
LIB_C_SRCS = $(wildcard $(patsubst %,%/*.c,$(SYS_LIBS)))
LIB_CPP_SRCS = $(wildcard $(patsubst %,%/*.cpp,$(SYS_LIBS)))
-USER_LIB_CPP_SRC = $(wildcard $(patsubst %,%/*.cpp,$(USER_LIBS)))
-USER_LIB_C_SRC = $(wildcard $(patsubst %,%/*.c,$(USER_LIBS)))
+USER_LIB_CPP_SRCS = $(wildcard $(patsubst %,%/*.cpp,$(USER_LIBS)))
+USER_LIB_C_SRCS = $(wildcard $(patsubst %,%/*.c,$(USER_LIBS)))
LIB_OBJS = $(patsubst
$(ARDUINO_LIB_PATH)/%.c,$(OBJDIR)/libs/%.o,$(LIB_C_SRCS)) \
$(patsubst
$(ARDUINO_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(LIB_CPP_SRCS)) \
$(patsubst
$(USER_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(USER_LIB_CPP_SRCS)) \
** Affects: arduino-mk (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1133428
Title:
Missing definition of USER_LIB_CPP_SRCS and USER_LIB_C_SRCS in
Arduino.mk
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arduino-mk/+bug/1133428/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs