[PATCH] build: Fix make rule for building crc%gen.h
Dario Lombardo
dario.lombardo.ml at gmail.com
Mon Sep 17 17:23:29 CEST 2012
Works for me applying this patch
diff --git a/src/shared/libosmocore/include/Makefile.am
b/src/shared/libosmocore/include/Makefile.am
index dec8eac..2c5fb3e 100644
--- a/src/shared/libosmocore/include/Makefile.am
+++ b/src/shared/libosmocore/include/Makefile.am
@@ -99,5 +99,5 @@ endif
noinst_HEADERS = osmocom/core/timer_compat.h
osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
- $(AM_V_GEN)$(MKDIR_P) $(notdir $@)
+ $(AM_V_GEN)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
and then
>> cd src/shared/libosmocore
>> ./configure
>> make distclean
>> cd ../..
>> make
On Mon, Sep 17, 2012 at 5:18 PM, Dave Davies <dodegkr at gmail.com> wrote:
> fresh pull and build fails, is this related at all as I have installed
> many times before ?
>
> http://pastebin.com/GTbJjd8y
>
> Dave
>
>
> On 17 September 2012 13:44, ☎ <Max.Suraev at fairwaves.ru> wrote:
>> 16.09.2012 20:58, Maciej Grela пишет:
>>> The current rule for building a directory for crc%gen.h uses $(notdir
>>> $@) causing a build error:
>>
>> I think I've experienced this error while building osmocom-bb today.
>> Until this patch merged into mainline the following workaround might help:
>>
>> cd src/shared/libosmocore
>> ./configure
>> make distclean
>> cd ../..
>> make
>>
>> --
>> best regards,
>> Max, http://fairwaves.ru
>>
>
More information about the baseband-devel
mailing list