-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
The radsecproxy build fails on Cygwin with undefined references as follows:
gcc -g -Wall -Werror -fno-strict-aliasing -Wall -pedantic -Wno-long-long -pthread -DRADPROT_UDP -DRADPROT_TCP -DRADPROT_TLS -DRADPROT_DTLS -Wno-error=char-subscripts -o radsecproxy.exe main.o librsp.a -lssl -lcrypto -lresolv -lnettle -lresolv -lnettle
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: librsp.a(dns.o): in function `parsesrvrr':
/home/StefanP/radsecproxy-1.11.0/dns.c:57:(.text+0x116): undefined reference to `__ns_get16'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:58:(.text+0x130): undefined reference to `__ns_get16'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:59:(.text+0x14a): undefined reference to `__ns_get16'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:60:(.text+0x182): undefined reference to `__ns_name_uncompress'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: librsp.a(dns.o): in function `parsenaptrrr':
/home/StefanP/radsecproxy-1.11.0/dns.c:101:(.text+0x2c3): undefined reference to `__ns_get16'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:102:(.text+0x2dd): undefined reference to `__ns_get16'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:120:(.text+0x3d6): undefined reference to `__ns_name_uncompress'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: librsp.a(dns.o): in function `doquery':
/home/StefanP/radsecproxy-1.11.0/dns.c:228:(.text+0x69b): undefined reference to `__ns_initparse'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:235:(.text+0x74d): undefined reference to `__ns_msg_getflag'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: /home/StefanP/radsecproxy-1.11.0/dns.c:236:(.text+0x7d8): undefined reference to `__ns_msg_getflag'
/usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: librsp.a(dns.o): in function `findrecords':
/home/StefanP/radsecproxy-1.11.0/dns.c:273:(.text+0x929): undefined reference to `__ns_parserr'
collect2: error: ld returned 1 exit status
I assume that this is because of specific resolver library references (NAPTR resolution?). I've found other references for this, mostly in busybox, so I don't know how this needs to be resolved. Am happy to try and figure things out.
Metadata
Metadata
Assignees
Labels
No labels