Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
On Mon, Nov 27, 2006 at 09:59:17PM +0100, Jonas Fonseca wrote: > Phillip Pi <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > > On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > > > Laurent MONIN <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > > > > Phillip Pi wrote: > > > > >Hello, > > > > > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS > > > > >X > > > > >10.2.8: > > > > > > > > > >... > > > > >[MAKE all] src/network > > > > >[MAKE all] src/network/ssl > > > > > [CC] src/network/ssl/socket.o > > > > > [CC] src/network/ssl/ssl.o > > > > > [LD] src/network/ssl/lib.o > > > > > [CC] src/network/connection.o > > > > > [CC] src/network/dns.o > > > > > [CC] src/network/progress.o > > > > > [CC] src/network/socket.o > > > > >socket.c: In function `get_pasv_socket': > > > > >socket.c:282: error: `socklen_t' undeclared (first use in this > > > > >function) > > > > >socket.c:282: error: (Each undeclared identifier is reported only once > > > > >socket.c:282: error: for each function it appears in.) > > > > >socket.c:282: error: parse error before "len" > > > > >socket.c:300: error: `len' undeclared (first use in this function) > > > > >socket.c: In function `connected': > > > > >socket.c:456: error: `socklen_t' undeclared (first use in this > > > > >function) > > > > >socket.c:456: error: parse error before "len" > > > > >socket.c:461: error: `len' undeclared (first use in this function) > > > > >make[2]: *** [socket.o] Error 1 > > > > >make[1]: *** [all-recursive] Error 1 > > > > >make: *** [all-recursive] Error 1 > > > > > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > > > >... > > > > > > > > > >Thank you in advance. :) > > > > > > > > > A potential explanation can be seen there: > > > > > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > > > > Ok, here is a small patch that should fix it. > > > > > > diff --git a/configure.in b/configure.in > > > index ad44020..65ccc65 100644 > > > --- a/configure.in > > > +++ b/configure.in > > > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > > > AC_TYPE_SIZE_T > > > AC_TYPE_OFF_T > > > EL_CHECK_TYPE(ssize_t, int) > > > +EL_CHECK_TYPE(socketlen_t, int) > > Oops, this should of course say socklen_t ... OK. Noted to try later. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
Phillip Pi <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > > Laurent MONIN <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > > > Phillip Pi wrote: > > > >Hello, > > > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > > > >10.2.8: > > > > > > > >... > > > >[MAKE all] src/network > > > >[MAKE all] src/network/ssl > > > > [CC] src/network/ssl/socket.o > > > > [CC] src/network/ssl/ssl.o > > > > [LD] src/network/ssl/lib.o > > > > [CC] src/network/connection.o > > > > [CC] src/network/dns.o > > > > [CC] src/network/progress.o > > > > [CC] src/network/socket.o > > > >socket.c: In function `get_pasv_socket': > > > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > > > >socket.c:282: error: (Each undeclared identifier is reported only once > > > >socket.c:282: error: for each function it appears in.) > > > >socket.c:282: error: parse error before "len" > > > >socket.c:300: error: `len' undeclared (first use in this function) > > > >socket.c: In function `connected': > > > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > > > >socket.c:456: error: parse error before "len" > > > >socket.c:461: error: `len' undeclared (first use in this function) > > > >make[2]: *** [socket.o] Error 1 > > > >make[1]: *** [all-recursive] Error 1 > > > >make: *** [all-recursive] Error 1 > > > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > > >... > > > > > > > >Thank you in advance. :) > > > > > > > A potential explanation can be seen there: > > > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > > Ok, here is a small patch that should fix it. > > > > diff --git a/configure.in b/configure.in > > index ad44020..65ccc65 100644 > > --- a/configure.in > > +++ b/configure.in > > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > > AC_TYPE_SIZE_T > > AC_TYPE_OFF_T > > EL_CHECK_TYPE(ssize_t, int) > > +EL_CHECK_TYPE(socketlen_t, int) Oops, this should of course say socklen_t ... -- Jonas Fonseca ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
On Mon, Nov 27, 2006 at 05:31:40PM +0100, Jonas Fonseca wrote: > Laurent MONIN <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > > Phillip Pi wrote: > > >Hello, > > > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > > >10.2.8: > > > > > >... > > >[MAKE all] src/network > > >[MAKE all] src/network/ssl > > > [CC] src/network/ssl/socket.o > > > [CC] src/network/ssl/ssl.o > > > [LD] src/network/ssl/lib.o > > > [CC] src/network/connection.o > > > [CC] src/network/dns.o > > > [CC] src/network/progress.o > > > [CC] src/network/socket.o > > >socket.c: In function `get_pasv_socket': > > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > > >socket.c:282: error: (Each undeclared identifier is reported only once > > >socket.c:282: error: for each function it appears in.) > > >socket.c:282: error: parse error before "len" > > >socket.c:300: error: `len' undeclared (first use in this function) > > >socket.c: In function `connected': > > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > > >socket.c:456: error: parse error before "len" > > >socket.c:461: error: `len' undeclared (first use in this function) > > >make[2]: *** [socket.o] Error 1 > > >make[1]: *** [all-recursive] Error 1 > > >make: *** [all-recursive] Error 1 > > > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > > >... > > > > > >Thank you in advance. :) > > > > > A potential explanation can be seen there: > > > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > Ok, here is a small patch that should fix it. > > diff --git a/configure.in b/configure.in > index ad44020..65ccc65 100644 > --- a/configure.in > +++ b/configure.in > @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE > AC_TYPE_SIZE_T > AC_TYPE_OFF_T > EL_CHECK_TYPE(ssize_t, int) > +EL_CHECK_TYPE(socketlen_t, int) > EL_CHECK_SYS_TYPE(long long, HAVE_LONG_LONG, []) > EL_CHECK_SYS_TYPE(off_t, HAVE_OFF_T, []) > EL_CHECK_INT_TYPE(int32_t, HAVE_INT32_T) > > Phillip, does this work for you? I will try that later. I am at work right now, so can't do it now. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
Laurent MONIN <[EMAIL PROTECTED]> wrote Mon, Nov 27, 2006: > Phillip Pi wrote: > >Hello, > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > >10.2.8: > > > >... > >[MAKE all] src/network > >[MAKE all] src/network/ssl > > [CC] src/network/ssl/socket.o > > [CC] src/network/ssl/ssl.o > > [LD] src/network/ssl/lib.o > > [CC] src/network/connection.o > > [CC] src/network/dns.o > > [CC] src/network/progress.o > > [CC] src/network/socket.o > >socket.c: In function `get_pasv_socket': > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > >socket.c:282: error: (Each undeclared identifier is reported only once > >socket.c:282: error: for each function it appears in.) > >socket.c:282: error: parse error before "len" > >socket.c:300: error: `len' undeclared (first use in this function) > >socket.c: In function `connected': > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > >socket.c:456: error: parse error before "len" > >socket.c:461: error: `len' undeclared (first use in this function) > >make[2]: *** [socket.o] Error 1 > >make[1]: *** [all-recursive] Error 1 > >make: *** [all-recursive] Error 1 > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > >... > > > >Thank you in advance. :) > > > A potential explanation can be seen there: > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html Ok, here is a small patch that should fix it. diff --git a/configure.in b/configure.in index ad44020..65ccc65 100644 --- a/configure.in +++ b/configure.in @@ -221,6 +221,7 @@ AC_SYS_LARGEFILE AC_TYPE_SIZE_T AC_TYPE_OFF_T EL_CHECK_TYPE(ssize_t, int) +EL_CHECK_TYPE(socketlen_t, int) EL_CHECK_SYS_TYPE(long long, HAVE_LONG_LONG, []) EL_CHECK_SYS_TYPE(off_t, HAVE_OFF_T, []) EL_CHECK_INT_TYPE(int32_t, HAVE_INT32_T) Phillip, does this work for you? -- Jonas Fonseca ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
On Mon, Nov 27, 2006 at 12:12:09PM +0100, Laurent MONIN wrote: > Laurent MONIN wrote: > >Phillip Pi wrote: > >>Hello, > >> > >>It's me again. I am having problems compiling eLinks v0.11.2 in Mac > >>OS X 10.2.8: > >> > >>... > >>[MAKE all] src/network > >>[MAKE all] src/network/ssl > >> [CC] src/network/ssl/socket.o > >> [CC] src/network/ssl/ssl.o > >> [LD] src/network/ssl/lib.o > >> [CC] src/network/connection.o > >> [CC] src/network/dns.o > >> [CC] src/network/progress.o > >> [CC] src/network/socket.o > >>socket.c: In function `get_pasv_socket': > >>socket.c:282: error: `socklen_t' undeclared (first use in this function) > >>socket.c:282: error: (Each undeclared identifier is reported only once > >>socket.c:282: error: for each function it appears in.) > >>socket.c:282: error: parse error before "len" > >>socket.c:300: error: `len' undeclared (first use in this function) > >>socket.c: In function `connected': > >>socket.c:456: error: `socklen_t' undeclared (first use in this function) > >>socket.c:456: error: parse error before "len" > >>socket.c:461: error: `len' undeclared (first use in this function) > >>make[2]: *** [socket.o] Error 1 > >>make[1]: *** [all-recursive] Error 1 > >>make: *** [all-recursive] Error 1 > >> > >>The whole compilation log can be found here: > >>http://pastebin.ca/259301 ... > >> > >>Thank you in advance. :) > >> > >A potential explanation can be seen there: > > > >http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > > >Which version of MacOSx are you using ? > > > Mac OS X 10.2.8 (Stupid me !) > > So we have to define it somewhere ;) DOH! Just sent a reply out. Yeah, where and I don't have that unix_net.h file. I am going to bed so I will deal with this later. -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
On Mon, Nov 27, 2006 at 12:03:27PM +0100, Laurent MONIN wrote: > Phillip Pi wrote: > >Hello, > > > >It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X > >10.2.8: > > > >... > >[MAKE all] src/network > >[MAKE all] src/network/ssl > > [CC] src/network/ssl/socket.o > > [CC] src/network/ssl/ssl.o > > [LD] src/network/ssl/lib.o > > [CC] src/network/connection.o > > [CC] src/network/dns.o > > [CC] src/network/progress.o > > [CC] src/network/socket.o > >socket.c: In function `get_pasv_socket': > >socket.c:282: error: `socklen_t' undeclared (first use in this function) > >socket.c:282: error: (Each undeclared identifier is reported only once > >socket.c:282: error: for each function it appears in.) > >socket.c:282: error: parse error before "len" > >socket.c:300: error: `len' undeclared (first use in this function) > >socket.c: In function `connected': > >socket.c:456: error: `socklen_t' undeclared (first use in this function) > >socket.c:456: error: parse error before "len" > >socket.c:461: error: `len' undeclared (first use in this function) > >make[2]: *** [socket.o] Error 1 > >make[1]: *** [all-recursive] Error 1 > >make: *** [all-recursive] Error 1 > > > >The whole compilation log can be found here: http://pastebin.ca/259301 > >... > > > >Thank you in advance. :) > > > A potential explanation can be seen there: > > http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html > > Which version of MacOSx are you using ? I did mention v10.2.8 in my original post. See above. :) I was unable to find unix_net.h on my HDD. :( BTW, the last version I compiled was with v0.10.6 (9/25/2005). -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
Laurent MONIN wrote: Phillip Pi wrote: Hello, It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X 10.2.8: ... [MAKE all] src/network [MAKE all] src/network/ssl [CC] src/network/ssl/socket.o [CC] src/network/ssl/ssl.o [LD] src/network/ssl/lib.o [CC] src/network/connection.o [CC] src/network/dns.o [CC] src/network/progress.o [CC] src/network/socket.o socket.c: In function `get_pasv_socket': socket.c:282: error: `socklen_t' undeclared (first use in this function) socket.c:282: error: (Each undeclared identifier is reported only once socket.c:282: error: for each function it appears in.) socket.c:282: error: parse error before "len" socket.c:300: error: `len' undeclared (first use in this function) socket.c: In function `connected': socket.c:456: error: `socklen_t' undeclared (first use in this function) socket.c:456: error: parse error before "len" socket.c:461: error: `len' undeclared (first use in this function) make[2]: *** [socket.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 The whole compilation log can be found here: http://pastebin.ca/259301 ... Thank you in advance. :) A potential explanation can be seen there: http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html Which version of MacOSx are you using ? Mac OS X 10.2.8 (Stupid me !) So we have to define it somewhere ;) -- Zas ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
Phillip Pi wrote: Hello, It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X 10.2.8: ... [MAKE all] src/network [MAKE all] src/network/ssl [CC] src/network/ssl/socket.o [CC] src/network/ssl/ssl.o [LD] src/network/ssl/lib.o [CC] src/network/connection.o [CC] src/network/dns.o [CC] src/network/progress.o [CC] src/network/socket.o socket.c: In function `get_pasv_socket': socket.c:282: error: `socklen_t' undeclared (first use in this function) socket.c:282: error: (Each undeclared identifier is reported only once socket.c:282: error: for each function it appears in.) socket.c:282: error: parse error before "len" socket.c:300: error: `len' undeclared (first use in this function) socket.c: In function `connected': socket.c:456: error: `socklen_t' undeclared (first use in this function) socket.c:456: error: parse error before "len" socket.c:461: error: `len' undeclared (first use in this function) make[2]: *** [socket.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 The whole compilation log can be found here: http://pastebin.ca/259301 ... Thank you in advance. :) A potential explanation can be seen there: http://lists.helixcommunity.org/pipermail/common-dev/2004-May/000938.html Which version of MacOSx are you using ? -- Zas ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
[elinks-users] Unable to compile elinks v0.11.2 in Mac OS X 10.2.8 due to socket.c errors.
Hello, It's me again. I am having problems compiling eLinks v0.11.2 in Mac OS X 10.2.8: ... [MAKE all] src/network [MAKE all] src/network/ssl [CC] src/network/ssl/socket.o [CC] src/network/ssl/ssl.o [LD] src/network/ssl/lib.o [CC] src/network/connection.o [CC] src/network/dns.o [CC] src/network/progress.o [CC] src/network/socket.o socket.c: In function `get_pasv_socket': socket.c:282: error: `socklen_t' undeclared (first use in this function) socket.c:282: error: (Each undeclared identifier is reported only once socket.c:282: error: for each function it appears in.) socket.c:282: error: parse error before "len" socket.c:300: error: `len' undeclared (first use in this function) socket.c: In function `connected': socket.c:456: error: `socklen_t' undeclared (first use in this function) socket.c:456: error: parse error before "len" socket.c:461: error: `len' undeclared (first use in this function) make[2]: *** [socket.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 The whole compilation log can be found here: http://pastebin.ca/259301 ... Thank you in advance. :) -- "Maybe it's like an ant hive..." "Bees man, bees have hives." "You know what I mean. It's like one female that runs the whole show." "Yes, the queen." "Yeah the mamma. She is bad*ss, man. I mean big." "These things ain't ants estupido." "I know that." --ALIENS movie /\___/\ / /\ /\ \ Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site) | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net \ _ / E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users