Coder Social home page Coder Social logo

fping6 no more builds: incompatible types when assigning to type ‘struct in_addr’ from type ‘struct in6_addr’ about fping HOT 2 CLOSED

schweikert avatar schweikert commented on July 20, 2024
fping6 no more builds: incompatible types when assigning to type ‘struct in_addr’ from type ‘struct in6_addr’

from fping.

Comments (2)

schweikert avatar schweikert commented on July 20, 2024

I think that this is caused by the way you build fping6. Looking at this:

http://sources.debian.net/src/fping/3.6-1/debian/rules

override_dh_auto_configure:
    mkdir build build/ipv4 build/ipv6
    cp -a $$(find * -maxdepth 0 ! -name build) build
    cd build/ipv4; ../configure
    cd build/ipv6; ../configure

override_dh_auto_build:
    $(MAKE) -C build/ipv4
    $(MAKE) -C build/ipv6 CPPFLAGS='-DIPV6=1 $(CPPFLAGS)'

Could you change it to use --enable-ipv6 and --enable-ipv4, instead of setting CPPFLAGS? Note that you can use both options and build fping+fping6 in one go.

from fping.

xtaran avatar xtaran commented on July 20, 2024

Thanks for the hint that both can be build in one go. That makes the packaging less complicated!

I suspect the complicated build system was created because that possibility didn't exist at some time in the past or at least wasn't that obvious.

It builds fine if I build both binaries in one go.

from fping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.