Menu

#2 misc.c -> undefined reference to `NS_GET16`

closed-fixed
nobody
None
5
2012-07-17
2012-05-08
Bill
No

Sorry if this doesn't go here, but I'm stuck. =)

trying to build 163 on NETBSD 2.0 i386

The configure script throws this warning

configure: WARNING: resolv.h: present but cannot be compiled
configure: WARNING: resolv.h: check for missing prerequisite headers?
configure: WARNING: resolv.h: see the Autoconf documentation
configure: WARNING: resolv.h: section "Present But Cannot Be Compiled"
configure: WARNING: resolv.h: proceeding with the preprocessor's result
configure: WARNING: resolv.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##

gmake fails with this output

misc.o(.text+0x597d): In function `ar_procanswer':
/home/demonx/bitchx-trunk/source/misc.c:2658: undefined reference to `NS_GET16'
misc.o(.text+0x5988):/home/demonx/bitchx-trunk/source/misc.c:2659: undefined reference to `NS_GET16'
misc.o(.text+0x5993):/home/demonx/bitchx-trunk/source/misc.c:2660: undefined reference to `NS_GET32'
misc.o(.text+0x599e):/home/demonx/bitchx-trunk/source/misc.c:2661: undefined reference to `NS_GET16'
gmake[1]: *** [BitchX] Error 1

--- cut---

If I comment out the three offending line numbers and the adjacent line that sets a value for ttl; then set ttl manually, it will build without error, but obviously not be able to use dns.

Discussion

  • Dan Mashal

    Dan Mashal - 2012-05-08

    Hi demonx406,

    Yes, we know about the autoconfig build issues. We got a bunch of people working on it. If you would like to participate please join #BitchX on Freenode.

    Dan

     
  • Kevin Easton

    Kevin Easton - 2012-07-16

    This was fixed in r196.

     
  • Kevin Easton

    Kevin Easton - 2012-07-16
    • status: open --> closed
     
  • Kevin Easton

    Kevin Easton - 2012-07-17
    • status: closed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB