root/trunk/ptxdist/patches/bind-9.3.2/generic/bind-9.3.2-gen-on-host.diff @ 5

Revision 5, 2.1 KB (checked in by bubu, 7 years ago)

- initial sources

  • lib/dns/Makefile.in

    # 
    # Submitted-By: Robert Schwebel, 2006-01-02
    # Committed-By: Robert Schwebel
    #
    # Error: 
    #
    # make[3]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/isccc'
    # making all in /home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns
    # make[3]: Entering directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns'
    # arm-softfloat-linux-gnu-gcc  -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2 -I. -Iinclude -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns/include -I../../lib/dns/include -I/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/nothreads/include     -DUSE_MD5    -g -O2  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -L/home/rsc/svn/ptxdist-build-0.9-trunk/local/arm-softfloat-linux-gnu/lib -L/home/rsc/svn/ptxdist-build-0.9-trunk/local/arm-softfloat-linux-gnu/usr/lib -o gen ./gen.c -lnsl 
    # ./gen -s . -t > include/dns/enumtype.h
    # /bin/sh: ./gen: cannot execute binary file
    # make[3]: *** [include/dns/enumtype.h] Error 126
    # make[3]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib/dns'
    # make[2]: *** [subdirs] Error 1
    # make[2]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2/lib'
    # make[1]: *** [subdirs] Error 1
    # make[1]: Leaving directory `/home/rsc/svn/ptxdist-build-0.9-trunk/build-target/bind-9.3.2'
    # make: *** [/home/rsc/svn/ptxdist-build-0.9-trunk/state/bind.compile] Error 2
    #
    # Description: 
    #
    # Makefile.in doesn't care about gen being compiled with a host compiler
    #
    # State:
    # 
    # unknown
    #
    
    diff -urN bind-9.3.2/lib/dns/Makefile.in bind-9.3.2-ptx/lib/dns/Makefile.in
    old new  
    156 156         ./gen -s ${srcdir} > code.h 
    157 157  
    158 158 gen: gen.c 
    159           ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} 
      159         ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} 
    160 160  
    161 161 rbtdb64.@O@: rbtdb.c 
    162 162  
Note: See TracBrowser for help on using the browser.