Compile error: `IPV6_V6ONLY' undeclared (first use this function) #167

Closed
opened 2026-10-05 04:02:07 +02:00 by adam · 2 comments
Owner

I am cross compiling using a Synology toolchain for arch 88f5281 and get this error:

Building core object Csocket...
src/Csocket.cpp: In member function `virtual bool Csock::Listen(u_short, int, const CString&, u_int, bool)':
src/Csocket.cpp:1182: error: `IPV6_V6ONLY' undeclared (first use this function)
src/Csocket.cpp:1182: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [src/Csocket.o] Erreur 1

ZNC 0.206 was compiling fine

I am cross compiling using a Synology toolchain for arch 88f5281 and get this error: ``` Building core object Csocket... src/Csocket.cpp: In member function `virtual bool Csock::Listen(u_short, int, const CString&, u_int, bool)': src/Csocket.cpp:1182: error: `IPV6_V6ONLY' undeclared (first use this function) src/Csocket.cpp:1182: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [src/Csocket.o] Erreur 1 ``` ZNC 0.206 was compiling fine <!-- github-sync-id:8430850 -->
adam closed this issue 2026-10-05 04:02:07 +02:00
Author
Owner

Pastebin config.log

Pastebin config.log <!-- github-comment-id:10512450 -->
Author
Owner
There you go: http://pastebin.com/8i3L97bP <!-- github-comment-id:10535293 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#167