Menu

#29 building on 10.11 El-Capitan failing

2.9.3
pending
nobody
None
2
2015-11-02
2015-10-28
Robert
No

Hi, I can't get it pat this error. Any ideas. Configure and make lines first.

./configure --sysconfdir=/etc --prefix=/usr/local --localstatedir=/var --with-openssl=/usr/local/opt/openssl --with-unbound --with-ldns

make LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include'

The last bit of the make run output...

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/opt/openssl/include -I/usr/local/opt/openssl/include -I/usr/local/opt/openssl/include -g -O2 -MT libopendkim_la-dkim-dns.lo -MD -MP -MF .deps/libopendkim_la-dkim-dns.Tpo -c dkim-dns.c  -fno-common -DPIC -o .libs/libopendkim_la-dkim-dns.o
dkim-dns.c:169:21: error: use of undeclared identifier 'HFIXEDSZ'
        unsigned char qbuf[HFIXEDSZ + MAXPACKET];
                           ^
dkim-dns.c:179:18: error: use of undeclared identifier 'QUERY'
        n = res_mkquery(QUERY, (char *) query, C_IN, type, NULL, 0, NULL, qbuf,
                        ^
dkim-dns.c:179:41: error: use of undeclared identifier 'C_IN'
        n = res_mkquery(QUERY, (char *) query, C_IN, type, NULL, 0, NULL, qbuf,
                                               ^
3 errors generated.
make[3]: *** [libopendkim_la-dkim-dns.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Discussion

  • Murray S. Kucherawy

    Those are supposed to be defined in /usr/include/arpa/nameser.h. Are they not?

     
  • Murray S. Kucherawy

    • status: open --> pending
     
    • Robert

      Robert - 2015-11-02

      Solved, incorrect location of some files I believe.

      Thanks

      On 2 Nov 2015, at 08:01, Murray S. Kucherawy cm-msk@users.sf.net wrote:

      /usr/include/arpa/nameser.h

      Robert Chalmers
      robert@chalmers.com robert@chalmers.com.au Quantum Radio: http://tinyurl.com/lwwddov
      Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB Storage made up of -
      Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower Bay

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.