Re: [ecasound] Ecasound LV2 support ready

From: Jeremy Salwen <jeremysalwen@email-addr-hidden>
Date: Fri Apr 13 2012 - 20:03:03 EEST

fileno is in stdio.h

It's very strange that it is missing on your computer.

You don't really need the svn version. You can install the latest release,
all you need to do is add the "static" modifier to the function
"uri_to_path" in the lilvmm header.

Jeremy

On Thu, Apr 12, 2012 at 11:53 PM, Kevin <kevschneb@email-addr-hidden> wrote:

> Hello,
>
> I'm attempting to compile the latest ecasound snapshot with LV2 enabled.
> Since it sounds like I need the latest SVN of liblilv I obtained such but
> am running into build problems.
>
> When I configure liblilv it states that "function fileno" is not found.
> The config log reveals the following:
>
> =======================================================
> <==
> [1/2] [32mc: build/.conf_check_aa52c56f5e9af9abbccb2ad0db230fd7/test.c ->
> build/.conf_check_aa52c56f5e9af9abbccb2ad0db230fd7/testbuild/test.c.1.o
> [0m
> ['/usr/bin/gcc', '-I/home/K/lilvSVNtrunk/lilv', '-DNDEBUG',
> '-fshow-column', '-std=c99',
> '-I/home/K/lilvSVNtrunk/lilv/build/.conf_check_aa52c56f5e9af9abbccb2ad0db230fd7/testbuild',
> '-DHAVE_LV2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DHAVE_SRATOM=1',
> '-DLILV_NEW_LV2=1', '-DHAVE_FLOCK=1', '-D_POSIX_C_SOURCE', '-D_BSD_SOURCE',
> '../test.c', '-c', '-o', 'test.c.1.o']
> err: ../test.c: In function ‘main’:
> ../test.c:5:12: error: ‘fileno’ undeclared (first use in this function)
> ../test.c:5:12: note: each undeclared identifier is reported only once for
> each function it appears in
>
> from /home/K/lilvSVNtrunk/lilv: Test does not build: Traceback (most
> recent call last):
> File
> "/home/K/lilvSVNtrunk/lilv/.waf-1.6.10-ee8d0489b4c1162829b47015f4b24802/waflib/Tools/c_config.py",
> line 445, in run_c_code
> bld.compile()
> File
> "/home/K/lilvSVNtrunk/lilv/.waf-1.6.10-ee8d0489b4c1162829b47015f4b24802/waflib/Build.py",
> line 190, in compile
> raise Errors.BuildError(self.producer.error)
> BuildError: Build failed
> -> task failed (exit status 1):
> {task 2143942732: c test.c -> test.c.1.o}
> ['/usr/bin/gcc', '-I/home/K/lilvSVNtrunk/lilv', '-DNDEBUG',
> '-fshow-column', '-std=c99',
> '-I/home/K/lilvSVNtrunk/lilv/build/.conf_check_aa52c56f5e9af9abbccb2ad0db230fd7/testbuild',
> '-DHAVE_LV2=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DHAVE_SRATOM=1',
> '-DLILV_NEW_LV2=1', '-DHAVE_FLOCK=1', '-D_POSIX_C_SOURCE', '-D_BSD_SOURCE',
> '../test.c', '-c', '-o', 'test.c.1.o']
>
> not found
> from /home/K/lilvSVNtrunk/lilv: The configuration failed
> =======================================================
>
> What is function fileno / where do I obtain it?
>
> Regards,
> Kevin
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Ecasound-list mailing list
> Ecasound-list@email-addr-hidden
> https://lists.sourceforge.net/lists/listinfo/ecasound-list
>
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Apr 13 20:15:02 2012

This archive was generated by hypermail 2.1.8 : Fri Apr 13 2012 - 20:15:02 EEST