[oss-devel] OSS 4.0 build1008 available

Hannu Savolainen hannu at opensound.com
Thu Oct 11 23:57:07 EEST 2007


Cristi Magherusan kirjoitti:
> Hello,
>
> On 10/11/07, Hannu Savolainen <hannu at opensound.com> wrote:
>   
>> Was the purpose of this sed command to remove OSFLAGS, to add LIBRARIES
>> or to do both of them?
>>     
>
> The ebuild needs to run this on an all the makefiles except ossxmix's:
>
> sed -i -e 's/$(CFLAGS) $(OSFLAGS)//;s/$(CFLAGS) $(LIBRARIES)//' \
> 		${WORKDIR}/build/cmd/*/Makefile \
> 		${WORKDIR}/build/os_cmd/Linux/ossdetect/Makefile \
> 		${WORKDIR}/build/os_cmd/Linux/ossvermagic/Makefile \
> 		|| die "sed failed"
>
> I haven't tried making it simpler yet, but without it the compilation
> fails with some errors like this:
> ossdevlinks.c:(.text+0x21b): undefined reference to `oss_strcmp'
>   
This happens if user land utilities are compiled with -D_KERNEL.

Best regards,

Hannu


More information about the oss-devel mailing list