signetlabdei/quic-ns-3

The build issue

Closed this issue · 0 comments

Every time a modified file is recompiled, it always needs to recompile files after 2000. For example, I will add a statement "std::cout << "Test." << std::endl;" in quic-variants-comparision
And run "./waf --run scratch/ quic-variants-comparision ". The results are as follows:
Waf: Entering directory `/home/czy/ns-3-dev/build'
[ 1/2947] Compiling install-ns3-header: ns3/windowed-filter.h
[1219/2947] Compiling src/internet/model/tcp-bbr.cc
[1926/2947] Compiling src/quic/model/quic-bbr.cc
[2386/2947] Compiling src/internet/test/tcp-bbr-test.cc
[2387/2947] Linking build/lib/libns3-dev-internet-debug.so
[2408/2947] Compiling src/fd-net-device/helper/tap-fd-net-device-helper.cc
[2409/2947] Compiling src/internet/test/tcp-endpoint-bug2211.cc
[2411/2947] Compiling src/internet/test/tcp-syn-connection-failed-test.cc
[2412/2947] Compiling src/lte/test/test-lte-x2-handover-measures.cc
[2413/2947] Linking build/lib/libns3-dev-applications-debug.so
[2414/2947] Linking build/lib/libns3-dev-internet-apps-debug.so
[2415/2947] Linking build/lib/libns3-dev-point-to-point-layout-debug.so
[2416/2947] Linking build/lib/libns3-dev-lte-debug.so
[2417/2947] Linking build/lib/libns3-dev-flow-monitor-debug.so
[2418/2947] Linking build/lib/libns3-dev-wave-debug.so
[2419/2947] Linking build/lib/libns3-dev-wimax-debug.so
[2420/2947] Linking build/lib/libns3-dev-olsr-debug.so
[2421/2947] Linking build/lib/libns3-dev-sixlowpan-debug.so
[2422/2947] Linking build/lib/libns3-dev-dsr-debug.so
[2423/2947] Linking build/lib/libns3-dev-mesh-debug.so
[2424/2947] Linking build/lib/libns3-dev-csma-layout-debug.so
[2425/2947] Linking build/lib/libns3-dev-netanim-debug.so
[2426/2947] Linking build/lib/libns3-dev-nix-vector-routing-debug.so
[2427/2947] Linking build/lib/libns3-dev-aodv-debug.so
[2428/2947] Linking build/lib/libns3-dev-dsdv-debug.so
[2429/2947] Linking build/lib/libns3-dev-quic-debug.so
[2430/2947] Linking build/lib/libns3-dev-tap-bridge-debug.so
[2431/2947] Linking build/lib/libns3-dev-test-debug.so
[2432/2947] Linking build/lib/libns3-dev-aodv-test-debug.so
[2433/2947] Linking build/lib/libns3-dev-applications-test-debug.so
[2434/2947] Linking build/lib/libns3-dev-dsdv-test-debug.so
[2435/2947] Linking build/lib/libns3-dev-dsr-test-debug.so
[2436/2947] Linking build/lib/libns3-dev-flow-monitor-test-debug.so
[2437/2947] Linking build/lib/libns3-dev-internet-test-debug.so
[2438/2947] Linking build/lib/libns3-dev-internet-apps-test-debug.so
[2439/2947] Linking build/lib/libns3-dev-mesh-test-debug.so
[2440/2947] Linking build/lib/libns3-dev-nix-vector-routing-test-debug.so
[2441/2947] Linking build/lib/libns3-dev-olsr-test-debug.so
[2442/2947] Linking build/lib/libns3-dev-sixlowpan-test-debug.so
[2443/2947] Linking build/lib/libns3-dev-wave-test-debug.so
[2444/2947] Linking build/lib/libns3-dev-wimax-test-debug.so
[2446/2947] Linking build/src/core/examples/ns3-dev-empirical-random-variable-example-debug
[2447/2947] Compiling src/lte/test/lte-test-radio-link-failure.cc
[2451/2947] Compiling src/lte/test/lte-test-ipv6-routing.cc
[2452/2947] Compiling src/lte/test/lte-test-pss-ff-mac-scheduler.cc
[2455/2947] Linking build/lib/libns3-dev-quic-test-debug.so
[2457/2947] Compiling src/lte/test/lte-test-deactivate-bearer.cc
[2458/2947] Compiling src/lte/test/test-lte-x2-handover.cc
[2464/2947] Compiling src/lte/test/lte-test-frequency-reuse.cc
[2465/2947] Compiling src/lte/test/lte-test-fdtbfq-ff-mac-scheduler.cc
[2466/2947] Compiling src/lte/test/lte-test-tdtbfq-ff-mac-scheduler.cc
[2467/2947] Compiling src/lte/test/lte-test-cqa-ff-mac-scheduler.cc
[2468/2947] Compiling src/netanim/test/netanim-test.cc
[2469/2947] Compiling src/test/traced/traced-callback-typedef-test-suite.cc
[2470/2947] Linking build/src/wave/examples/ns3-dev-wave-simple-80211p-debug
[2471/2947] Linking build/lib/libns3-dev-lte-test-debug.so
[2472/2947] Linking build/lib/libns3-dev-netanim-test-debug.so
[2473/2947] Linking build/src/wave/examples/ns3-dev-wave-simple-device-debug
[2474/2947] Linking build/src/wifi/examples/ns3-dev-wifi-bianchi-debug
[2475/2947] Linking build/examples/ipv6/ns3-dev-test-ipv6-debug
[2476/2947] Linking build/examples/routing/ns3-dev-simple-multicast-flooding-debug
[2477/2947] Linking build/examples/wireless/ns3-dev-mixed-wired-wireless-debug
[2478/2947] Linking build/examples/wireless/ns3-dev-wifi-adhoc-debug
[2483/2947] Linking build/examples/wireless/ns3-dev-wifi-clear-channel-cmu-debug
[2484/2947] Linking build/examples/wireless/ns3-dev-wifi-ap-debug
[2485/2947] Linking build/examples/wireless/ns3-dev-wifi-wired-bridging-debug
[2486/2947] Linking build/examples/wireless/ns3-dev-wifi-multirate-debug
[2487/2947] Linking build/examples/wireless/ns3-dev-wifi-simple-adhoc-debug
[2488/2947] Linking build/examples/wireless/ns3-dev-wifi-simple-adhoc-grid-debug
[2489/2947] Linking build/examples/wireless/ns3-dev-wifi-simple-infra-debug
[2490/2947] Linking build/examples/wireless/ns3-dev-wifi-simple-interference-debug
[2491/2947] Linking build/examples/wireless/ns3-dev-wifi-blockack-debug
[2492/2947] Linking build/examples/wireless/ns3-dev-wifi-hidden-terminal-debug
[2493/2947] Linking build/examples/wireless/ns3-dev-wifi-ht-network-debug
[2494/2947] Linking build/examples/wireless/ns3-dev-wifi-vht-network-debug
[2495/2947] Linking build/examples/wireless/ns3-dev-wifi-timing-attributes-debug
[2496/2947] Linking build/examples/wireless/ns3-dev-wifi-sleep-debug
[2497/2947] Linking build/lib/libns3-dev-test-test-debug.so
[2498/2947] Linking build/examples/wireless/ns3-dev-wifi-power-adaptation-distance-debug
[2499/2947] Linking build/examples/wireless/ns3-dev-wifi-power-adaptation-interference-debug
[2500/2947] Linking build/examples/wireless/ns3-dev-wifi-rate-adaptation-distance-debug
[2501/2947] Linking build/examples/wireless/ns3-dev-wifi-aggregation-debug
[2502/2947] Linking build/examples/wireless/ns3-dev-wifi-txop-aggregation-debug
[2504/2947] Linking build/examples/wireless/ns3-dev-wifi-simple-ht-hidden-stations-debug
[2505/2947] Linking build/examples/wireless/ns3-dev-wifi-80211n-mimo-debug
[2506/2947] Linking build/examples/wireless/ns3-dev-wifi-mixed-network-debug
[2508/2947] Linking build/examples/wireless/ns3-dev-wifi-tcp-debug
[2509/2947] Linking build/examples/wireless/ns3-dev-wifi-80211e-txop-debug
[2510/2947] Linking build/examples/wireless/ns3-dev-wifi-spectrum-per-example-debug
[2511/2947] Linking build/examples/wireless/ns3-dev-wifi-spectrum-per-interference-debug
[2512/2947] Linking build/examples/wireless/ns3-dev-wifi-spectrum-saturation-example-debug
[2513/2947] Linking build/examples/wireless/ns3-dev-wifi-he-network-debug
[2514/2947] Linking build/examples/wireless/ns3-dev-wifi-multi-tos-debug
[2535/2947] Linking build/examples/wireless/ns3-dev-wifi-backward-compatibility-debug
[2536/2947] Linking build/examples/wireless/ns3-dev-wifi-spatial-reuse-debug
[2538/2947] Linking build/utils/ns3-dev-test-runner-debug
[2539/2947] Linking build/src/csma/examples/ns3-dev-csma-packet-socket-debug
[2540/2947] Linking build/utils/ns3-dev-print-introspected-doxygen-debug
[2541/2947] Compiling src/aodv/examples/aodv.cc
[2542/2947] Compiling src/applications/examples/three-gpp-http-example.cc
[2543/2947] Compiling src/bridge/examples/csma-bridge.cc
[2544/2947] Compiling src/bridge/examples/csma-bridge-one-hop.cc
[2545/2947] Linking build/src/applications/examples/ns3-dev-three-gpp-http-example-debug
[2546/2947] Linking build/src/aodv/examples/ns3-dev-aodv-debug
[2547/2947] Linking build/src/bridge/examples/ns3-dev-csma-bridge-debug
[2548/2947] Linking build/src/bridge/examples/ns3-dev-csma-bridge-one-hop-debug
[2549/2947] Compiling src/csma/examples/csma-one-subnet.cc
[2550/2947] Compiling src/csma/examples/csma-broadcast.cc
[2551/2947] Compiling src/csma/examples/csma-multicast.cc
[2552/2947] Linking build/src/csma/examples/ns3-dev-csma-one-subnet-debug
[2553/2947] Linking build/src/csma/examples/ns3-dev-csma-broadcast-debug
[2554/2947] Compiling src/csma/examples/csma-raw-ip-socket.cc
[2555/2947] Compiling src/csma/examples/csma-ping.cc
[2556/2947] Linking build/src/csma/examples/ns3-dev-csma-multicast-debug
[2557/2947] Linking build/src/csma/examples/ns3-dev-csma-raw-ip-socket-debug
[2558/2947] Compiling src/csma-layout/examples/csma-star.cc
[2559/2947] Compiling src/dsdv/examples/dsdv-manet.cc
[2560/2947] Linking build/src/csma/examples/ns3-dev-csma-ping-debug
[2561/2947] Linking build/src/csma-layout/examples/ns3-dev-csma-star-debug
[2562/2947] Compiling src/dsr/examples/dsr.cc
[2563/2947] Compiling src/fd-net-device/examples/dummy-network.cc
[2564/2947] Linking build/src/dsdv/examples/ns3-dev-dsdv-manet-debug
[2565/2947] Compiling src/fd-net-device/examples/fd2fd-onoff.cc
[2566/2947] Linking build/src/dsr/examples/ns3-dev-dsr-debug
[2567/2947] Linking build/src/fd-net-device/examples/ns3-dev-dummy-network-debug
[2568/2947] Compiling src/fd-net-device/examples/realtime-dummy-network.cc
[2569/2947] Compiling src/fd-net-device/examples/realtime-fd2fd-onoff.cc
[2570/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd2fd-onoff-debug
[2571/2947] Compiling src/fd-net-device/examples/fd-emu-ping.cc
[2572/2947] Linking build/src/fd-net-device/examples/ns3-dev-realtime-dummy-network-debug
[2573/2947] Linking build/src/fd-net-device/examples/ns3-dev-realtime-fd2fd-onoff-debug
[2574/2947] Compiling src/fd-net-device/examples/fd-emu-onoff.cc
[2582/2947] Compiling src/fd-net-device/examples/fd-emu-tc.cc
[2583/2947] Linking build/src/lte/examples/ns3-dev-lena-cqi-threshold-debug
[2584/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-emu-ping-debug
[2585/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-emu-onoff-debug
[2586/2947] Compiling src/fd-net-device/examples/fd-emu-send.cc
[2588/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-emu-tc-debug
[2590/2947] Linking build/src/lte/examples/ns3-dev-lena-fading-debug
[2591/2947] Linking build/src/lte/examples/ns3-dev-lena-intercell-interference-debug
[2592/2947] Compiling src/fd-net-device/examples/fd-emu-udp-echo.cc
[2593/2947] Compiling src/fd-net-device/examples/fd-tap-ping.cc
[2594/2947] Compiling src/fd-net-device/examples/fd-tap-ping6.cc
[2595/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-emu-send-debug
[2596/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-emu-udp-echo-debug
[2599/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-tap-ping-debug
[2600/2947] Linking build/src/lte/examples/ns3-dev-lena-pathloss-traces-debug
[2601/2947] Linking build/src/lte/examples/ns3-dev-lena-profiling-debug
[2604/2947] Linking build/src/fd-net-device/examples/ns3-dev-fd-tap-ping6-debug
[2605/2947] Linking build/src/lte/examples/ns3-dev-lena-rem-debug
[2608/2947] Linking build/src/lte/examples/ns3-dev-lena-rem-sector-antenna-debug
[2609/2947] Linking build/src/lte/examples/ns3-dev-lena-rlc-traces-debug
[2610/2947] Linking build/src/lte/examples/ns3-dev-lena-simple-debug
[2611/2947] Compiling src/internet/examples/main-simple.cc
[2612/2947] Compiling src/internet-apps/examples/dhcp-example.cc
[2613/2947] Compiling src/internet-apps/examples/traceroute-example.cc
[2614/2947] Linking build/src/internet/examples/ns3-dev-main-simple-debug
[2615/2947] Linking build/src/internet-apps/examples/ns3-dev-dhcp-example-debug
[2617/2947] Compiling src/lte/examples/lena-dual-stripe.cc
[2618/2947] Linking build/src/lte/examples/ns3-dev-lena-frequency-reuse-debug
[2619/2947] Compiling src/lte/examples/lena-ipv6-addr-conf.cc
[2620/2947] Linking build/src/internet-apps/examples/ns3-dev-traceroute-example-debug
[2622/2947] Linking build/src/lte/examples/ns3-dev-lena-dual-stripe-debug
[2623/2947] Linking build/src/lte/examples/ns3-dev-lena-uplink-power-control-debug
[2624/2947] Compiling src/lte/examples/lena-ipv6-ue-rh.cc
[2625/2947] Compiling src/lte/examples/lena-ipv6-ue-ue.cc
[2626/2947] Linking build/src/lte/examples/ns3-dev-lena-ipv6-addr-conf-debug
[2627/2947] Compiling src/lte/examples/lena-simple-epc.cc
[2628/2947] Linking build/src/lte/examples/ns3-dev-lena-ipv6-ue-rh-debug
[2629/2947] Compiling src/lte/examples/lena-simple-epc-backhaul.cc
[2644/2947] Linking build/src/lte/examples/ns3-dev-lena-ipv6-ue-ue-debug
[2645/2947] Linking build/src/lte/examples/ns3-dev-lena-simple-epc-debug
[2646/2947] Compiling src/lte/examples/lena-deactivate-bearer.cc
[2647/2947] Compiling src/lte/examples/lena-x2-handover.cc
[2648/2947] Compiling src/lte/examples/lena-x2-handover-measures.cc
[2649/2947] Linking build/src/lte/examples/ns3-dev-lena-simple-epc-backhaul-debug
[2650/2947] Linking build/src/lte/examples/ns3-dev-lena-deactivate-bearer-debug
[2651/2947] Linking build/src/lte/examples/ns3-dev-lena-x2-handover-debug
[2653/2947] Compiling src/lte/examples/lena-distributed-ffr.cc
[2654/2947] Linking build/src/netanim/examples/ns3-dev-uan-animation-debug
[2655/2947] Linking build/src/lte/examples/ns3-dev-lena-x2-handover-measures-debug
[2656/2947] Compiling src/lte/examples/lena-radio-link-failure.cc
[2659/2947] Compiling src/lte/examples/lena-simple-epc-emu.cc
[2660/2947] Linking build/src/lte/examples/ns3-dev-lena-distributed-ffr-debug
[2661/2947] Linking build/src/lte/examples/ns3-dev-lena-radio-link-failure-debug
[2662/2947] Linking build/src/lte/examples/ns3-dev-lena-simple-epc-emu-debug
[2663/2947] Compiling src/mesh/examples/mesh.cc
[2664/2947] Compiling src/netanim/examples/dumbbell-animation.cc
....
I would like to know how to set it so that it does not compile some irrelevant file at a time. I look forward to your guidance. Thank you very much.