fix without IPv6 #117

Merged
merged 1 commit into from Dec 11, 2013

2 participants

@fperrad

I work with Buildroot which is a tool for building embedded linux system.
Buildroot supports various C libraries which have or not the IPv6 support.

With uClibc without IPv6, I obtain the following error :

  CC       ext/posix/ext_posix_posix_c_la-posix.lo
ext/posix/posix.c: In function 'Psetsockopt':
ext/posix/posix.c:3642:10: error: 'IPV6_JOIN_GROUP' undeclared (first use in this function)
ext/posix/posix.c:3642:10: note: each undeclared identifier is reported only once for each function it appears in
ext/posix/posix.c:3643:10: error: 'IPV6_LEAVE_GROUP' undeclared (first use in this function)
ext/posix/posix.c: In function 'luaopen_posix_c':
ext/posix/posix.c:4701:2: error: 'IPV6_JOIN_GROUP' undeclared (first use in this function)
ext/posix/posix.c:4702:2: error: 'IPV6_LEAVE_GROUP' undeclared (first use in this function)
ext/posix/posix.c:4703:2: error: 'IPV6_MULTICAST_HOPS' undeclared (first use in this function)
ext/posix/posix.c:4704:2: error: 'IPV6_MULTICAST_IF' undeclared (first use in this function)
ext/posix/posix.c:4705:2: error: 'IPV6_MULTICAST_LOOP' undeclared (first use in this function)
ext/posix/posix.c:4706:2: error: 'IPV6_UNICAST_HOPS' undeclared (first use in this function)
ext/posix/posix.c:4707:2: error: 'IPV6_V6ONLY' undeclared (first use in this function)
@gvvaughan gvvaughan merged commit 4963085 into luaposix:master Dec 11, 2013

1 check passed

Details default The Travis CI build passed
@gvvaughan

Thanks!

And sorry for the delay; I somehow turned off my notifications for luaposix 👎

@fperrad fperrad added a commit to fperrad/br that referenced this pull request May 31, 2014
@fperrad fperrad lua-posix: bump to version 32
the patch was merged upstream,
see luaposix/luaposix#117
c9c0989
@fperrad fperrad added a commit to fperrad/br that referenced this pull request Jun 21, 2014
@fperrad fperrad lua-posix: bump to version 32
the patch was merged upstream,
see luaposix/luaposix#117
af3a97a
@fperrad fperrad added a commit to fperrad/br that referenced this pull request Jul 21, 2014
@fperrad fperrad lua-posix: bump to version 32
the patch was merged upstream,
see luaposix/luaposix#117

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7e88bff
@g5nnnnn g5nnnnn pushed a commit to g5nnnnn/buildroot that referenced this pull request Jul 22, 2014
@fperrad fperrad lua-posix: bump to version 32
the patch was merged upstream,
see luaposix/luaposix#117

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6697a6e
@philenotfound philenotfound pushed a commit to philenotfound/buildroot-cr15wi that referenced this pull request Sep 23, 2014
@fperrad fperrad lua-posix: bump to version 32
the patch was merged upstream,
see luaposix/luaposix#117

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
0af58e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment