Re: [Jack-Devel] Fwd: jack-trauma for audio over IP

PrevNext  Index
DateWed, 26 Feb 2014 19:17:32 -0500
From outro pessoa <[hidden] at gmail dot com>
To[hidden] at danieletorelli dot net
Cc[hidden] at lists dot jackaudio dot org
In-Reply-To[hidden] at danieletorelli dot net Re: [Jack-Devel] Fwd: jack-trauma for audio over IP
Follow-Upoutro pessoa Re: [Jack-Devel] Fwd: jack-trauma for audio over IP
On Tue, Feb 25, 2014 at 8:39 AM, <[hidden]> wrote:

> Hello,
>
> honestly I have no experience on FreeBSD so I don't really know. I guess
> the first warning (that probably would lead to some problem) can be avoided
> removing
> #define IP_DONTFRAG 1
> but I don't know about the error. Does FreeBSD support UDPLite? I know it
> has been
> supported from the Linux kernel only since version 2.6.20
>
>
>
> On 2014-02-25 01:26, outro pessoa wrote:
>
>> ---------- Forwarded message ----------
>> From: OUTRO PESSOA <[hidden]>
>>  Date: Mon, Feb 24, 2014 at 1:00 PM
>> Subject: Re: [Jack-Devel] jack-trauma for audio over IP
>> To: [hidden]
>>
>> On Mon, Feb 24, 2014 at 12:59 PM, outro pessoa
>> <[hidden]> wrote:
>>
>>  On Mon, Feb 24, 2014 at 9:42 AM, <[hidden]> wrote:
>>> Hello,
>>>
>>> I just tried both with gcc 4.8 and clang 3.3 on Debian and it seems
>>> to be compiling with both, what versions have you tried?
>>>
>>> Best Regards
>>>
>>> jack_trauma.c:192:59 error:expected expression occurs with the
>>> closing
>>> parenthesis and before the semicolon. I rewrote the Makefile to use
>>> clang in place of gcc.
>>>
>>> Links:
>>> ------
>>> [1] https://bitbucket.org/torelizer/jack-trauma [1]
>>> [2] https://github.com/torelizer/jack_trauma [2]
>>> [3] http://www.danieletorelli.net [3]
>>> [4]
>>> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org [4]
>>>
>>> --
>>> Daniele Torelli
>>> ----------------------
>>> www.danieletorelli.net [3]
>>>
>>
>> Modified files being sent
>>
>> jack_trauma.c:21:9: warning: 'IP_DONTFRAG' macro redefined
>> #define IP_DONTFRAG 1
>>         ^
>> /usr/include/netinet/in.h:464:9: note: previous definition is here
>> #define IP_DONTFRAG             67   /* don't fragment
>> packet */
>>          ^
>> jack_trauma.c:192:60: error: expected expression
>>     socketfd == socket(AF_INET, SOCK_DGRAM, IPPROTO_UDPLITE);
>>
>> ^
>> jack_trauma.c:353:1: warning: type specifier missing, defaults to
>> 'int'
>>        [-Wimplicit-int]
>> parse_options(int argc, char** argv){
>> ^~~~~~~~~~~~~
>> 2 warnings and 1 error generated.
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/home/raspycat/jack_trauma
>>
>> $ uname -a
>>  FreeBSD conhecer 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256420: Sun Oct 13
>> 03:46:18 UTC 2013
>> [hidden]:/usr/obj/usr/src/sys/GENERIC  i386
>> $
>>
>>
>>
>> Links:
>> ------
>> [1] https://bitbucket.org/torelizer/jack-trauma
>> [2] https://github.com/torelizer/jack_trauma
>> [3] http://www.danieletorelli.net
>> [4] http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>>
>> 
>> Jack-Devel mailing list
>> [hidden]
>> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>>
>
> --
> Daniele Torelli
> ----------------------
> www.danieletorelli.net
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>


There are also a few compiler flags that I need to add. I will look; and,
if it does not, then I will see about making it work.
PrevNext  Index

1393460263.27037_0.ltw:2,Sa <CAD9=5Xx8S_88ODtxW3V+UjdZCLHQe0efNKMa0OfZURQVd4Cr8g at mail dot gmail dot com>