SDK-dat/C-dat/C-errors-dat.md
... ...
@@ -68,6 +68,8 @@ Add -std=c99 (or -std=gnu99) to your gcc or make command:
68 68
69 69
make CFLAGS="-std=c99"
70 70
71
+ make clean && make CFLAGS="-std=c99"
72
+
71 73
## Q2
72 74
73 75
vb@ubuntu14:~/xfel$ make CFLAGS="-std=c99"
SDK-dat/Xboot-dat/xfel-dat/xfel-dat.md
... ...
@@ -1,7 +1,7 @@
1 1
2 2
# xfel-dat
3 3
4
-- [[ubuntu-dat]]
4
+- [[ubuntu-dat]] - [[c-errors-dat]]
5 5
6 6
Usually comes with the xboot tools:
7 7
SDK-dat/ubuntu-dat/ubuntu-14-dat.md
... ...
@@ -1,6 +1,9 @@
1 1
2 2
# ubuntu-14-dat.md
3 3
4
+- [[C-dat]] - [[xfel-dat]]
5
+
6
+
4 7
Ubuntu 14 is **very old** (GCC 4.8 by default), and newer GCC versions may be more tolerant. Consider:
5 8
6 9
```bash
... ...
@@ -11,6 +14,8 @@ export CC=gcc-7
11 14
make clean && make
12 15
```
13 16
17
+
18
+
14 19
## ref
15 20
16 21
- [[ubuntu-dat]]
SDK-dat/ubuntu-dat/ubuntu-dat.md
... ...
@@ -3,6 +3,8 @@
3 3
4 4
- [[virtualbox-dat]]
5 5
6
+- [[ubuntu-14-dat]] - [[C-dat]]
7
+
6 8
![](2025-07-14-23-09-16.png)
7 9
8 10
![](2025-07-14-23-09-43.png)
... ...
@@ -36,6 +38,18 @@ apt-get install <package_name>
36 38
sudo apt install libz libusb-1.0-0-dev
37 39
38 40
41
+## disable
42
+
43
+打开终端 (Open the terminal).
44
+关闭锁屏 (Disable lock screen):
45
+
46
+ gsettings set org.gnome.desktop.screensaver lock-enabled false
47
+
48
+关闭自动挂起 (Disable automatic suspend):
49
+
50
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
51
+ gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'nothing'
52
+
39 53
## SDK
40 54
41 55
- [[tina-dat]]