p-quic / pquic

The PQUIC implementation, a framework that enables QUIC clients and servers to dynamically exchange protocol plugins that extend the protocol on a per-connection basis
https://pquic.org
MIT License
126 stars 20 forks source link

Build failing #15

Closed ishitachaturvedi closed 3 years ago

ishitachaturvedi commented 3 years ago

While trying to build pquic, the final make step in pquic. The error is- 45%] Built target picoquic-core make[2]: No rule to make target 'picoquic/michelfralloc/libmichelfralloc.a', needed by 'picoquic_ct'. Stop. make[1]: [CMakeFiles/Makefile2:114: CMakeFiles/picoquic_ct.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

qdeconinck commented 3 years ago

This log error is not complete. What commands did you type? Did you follow the instructions at https://github.com/p-quic/pquic#pquic-on-linux ?

ishitachaturvedi commented 3 years ago

Yes, I followed the steps, after building the deps I did- git submodule update --init cd ubpf/vm make cd ../.. cd picoquic/michelfralloc make cd ../.. cmake . --> make At this step I got the above error

qdeconinck commented 3 years ago

Ok, but could you please provide the full compilation log? Otherwise, it is hard to understand why it fails.

ishitachaturvedi commented 3 years ago

I am attaching the error logs with this log.txt

qdeconinck commented 3 years ago

Ok, so the first error seemed to be solved by makeing in the picoquic/michelfralloc submodule. The error now /usr/bin/ld: cannot find -lprofiler seems to indicate that you don't have the gperftools dependency. Could you try first installing it and then remaking the project again?

# On Ubuntu
$ sudo apt install gperftools
# On Fedora
$ sudo dnf install gperftools
mpiraux commented 3 years ago

Closing this as it seems that no further assistance is required.