bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Error building on OSX


From: Juergen Sauermann
Subject: Re: [Bug-apl] Error building on OSX
Date: Tue, 08 Jul 2014 18:03:21 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi,

SOL_SOCKET is 1 on linux but according to the man page of TCP(7) SOL_TCP (=6) should be used.
I have changed the code to use he number 6 instead of SOL_TCP. SVN 368.

/// Jürgen


On 07/08/2014 03:51 PM, Elias Mårtenson wrote:
The value should be SOL_SOCKET (also true for Linux).

Regards,
Elias


On 8 July 2014 21:42, Juergen Sauermann <address@hidden> wrote:
Hi Elias,

how is it called then? And what is its value? 6 for PROTO_TCP?

/// Jürgen



On 07/08/2014 03:05 PM, Elias Mårtenson wrote:
A new error when building on OSX:

g++ -DHAVE_CONFIG_H -I. -I../..    -I .. -g -O2 -DAP_NUM=210 -g -MT AP210-UdpSocket.o -MD -MP -MF .deps/AP210-UdpSocket.Tpo -c -o AP210-UdpSocket.o `test -f '../UdpSocket.cc' || echo './'`../UdpSocket.cc

../Svar_DB.cc:94:25: error: use of undeclared identifier 'SOL_TCP'

     setsockopt(DB_tcp, SOL_TCP, TCP_NODELAY, &ndelay, sizeof(int));

                        ^

1 error generated.

make[3]: *** [AP100-Svar_DB.o] Error 1

Regards,
Elias





reply via email to

[Prev in Thread] Current Thread [Next in Thread]