I suspect what you'll need is a collection of #if/#endif guards around
the definitions of those macros:
diff --git a/runtime/linux/compat_unistd.h b/runtime/linux/compat_unistd.h
index 5a26b77bbccb..45e8b4d6c3d9 100644
--- a/runtime/linux/compat_unistd.h
+++ b/runtime/linux/compat_unistd.h
@@ -187
So what is `.`?
Searching for all files named unistd.h, I think it's one of the
following 2 (note that both files are identical according to diff):
/usr/src/linux-raspi-headers-5.4.0-1012/arch/arm64/include/asm/unistd.h
/usr/src/linux-raspi-headers-5.4.0-1008/arch/arm64/include/asm/unistd.h
Full
I had already wiped Ubuntu because of librtlsdr0 not working, so I
installed it on a flash drive. I tried doing this procedure again, and
got the same error.
. is ~ (/home/ubuntu) and has no such arch directory.
ubuntu@ubuntu:~$ pwd
/home/ubuntu
ubuntu@ubuntu:~$ ls -lA
total 40
-rw--- 1 ubun
> ./arch/arm64/include/asm/unistd.h:29: note: this is the location of
the previous definition
what do you have in your . directory? That's where it's picking up the
previous definition...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubunt
Same error.
ubuntu@pi-ubuntu:~/bin$ apt-cache policy systemtap
systemtap:
Installed: 4.3-2-g7a7016a12+20.04.20200612040454
Candidate: 4.3-2-g7a7016a12+20.04.20200612040454
Version table:
*** 4.3-2-g7a7016a12+20.04.20200612040454 500
500 http://ppa.launchpad.net/ubuntu-support-team/
Does the systemtap from this ppa work correctly for you?
https://launchpad.net/~ubuntu-support-team/+archive/ubuntu/systemtap
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883343
Title:
systemtap