User Tools

Site Tools


build_testptp_debian


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
build_testptp_debian [2023/03/08 15:34] millerjsbuild_testptp_debian [2024/11/14 02:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Build ''testptp'' on Debian ======+====== Build testptp on Debian ======
 Applies to Debian-based distros too. Applies to Debian-based distros too.
  
   - Install build-essential and kernel source <code>sudo apt install linux-source build-essential</code>   - Install build-essential and kernel source <code>sudo apt install linux-source build-essential</code>
   - Decompress kernel source <code>cd /usr/src ;   - Decompress kernel source <code>cd /usr/src ;
-sudo tar -xf linux-source-5.10.tar.xz ; +sudo tar -xf linux-source-5.10.tar.xz</code> 
-cd /usr/src/linux-source-5.10/tools/testing/selftests/ptp</code> +  - Build! <code>cd /usr/src/linux-source-5.10/tools/testing/selftests/ptp ; 
-  - Build! <code>gcc -static testptp.c -o testptp</code>+gcc -static testptp.c -o testptp</code>
   - Optional - install <code>mv testptp /usr/bin/.</code>   - Optional - install <code>mv testptp /usr/bin/.</code>
   - Test! <code>$ sudo testptp /dev/ptp0 -c   - Test! <code>$ sudo testptp /dev/ptp0 -c
build_testptp_debian.1678289666.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki