norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$
norizan@angel1957:~$ SUDO SU
SUDO: command not found
norizan@angel1957:~$ sudo su
[sudo] password for norizan:
root@angel1957:/home/norizan# pwd
/home/norizan
root@angel1957:/home/norizan#
root@angel1957:/home/norizan#
root@angel1957:/home/norizan#
root@angel1957:/home/norizan#
root@angel1957:/home/norizan#
root@angel1957:/home/norizan# ls -alh
total 104K
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 .
drwxr-xr-x 3 root root 4.0K Jul 18 17:39 ..
-rw------- 1 norizan norizan 8 Jul 19 01:32 .bash_history
-rw-r--r-- 1 norizan norizan 220 Jul 18 17:39 .bash_logout
-rw-r--r-- 1 norizan norizan 3.7K Jul 18 17:39 .bashrc
drwx------ 16 norizan norizan 4.0K Jul 18 18:53 .cache
drwx------ 17 norizan norizan 4.0K Jul 18 18:57 .config
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Desktop
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Documents
drwxrwxrwx 2 norizan norizan 4.0K Jul 18 18:04 Downloads
-rw-r--r-- 1 norizan norizan 8.8K Jul 18 17:39 examples.desktop
drwx------ 3 norizan norizan 4.0K Jul 18 18:53 .gnome
drwx------ 3 norizan norizan 4.0K Jul 18 17:44 .gnupg
-rw------- 1 norizan norizan 1.3K Jul 20 00:35 .ICEauthority
drwx------ 3 norizan norizan 4.0K Jul 18 17:44 .local
drwx------ 5 norizan norizan 4.0K Jul 18 17:45 .mozilla
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Music
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 20:36 Pictures
drwx------ 3 norizan norizan 4.0K Jul 18 18:53 .pki
-rw-r--r-- 1 norizan norizan 807 Jul 18 17:39 .profile
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Public
-rw-r--r-- 1 norizan norizan 0 Jul 18 18:25 .sudo_as_admin_successful
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Templates
drwx------ 4 norizan norizan 4.0K Jul 18 18:05 .thumbnails
drwxr-xr-x 2 norizan norizan 4.0K Jul 18 17:44 Videos
root@angel1957:/home/norizan# cd Downloads
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# ls -alh
total 51M
drwxrwxrwx 2 norizan norizan 4.0K Jul 18 18:04 .
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 ..
-rw-rw-r-- 1 norizan norizan 51M Jul 18 18:04 google-chrome-stable_current_amd64.deb
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# ls -alh
total 51M
drwxrwxrwx 2 norizan norizan 4.0K Jul 18 18:04 .
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 ..
-rw-rw-r-- 1 norizan norizan 51M Jul 18 18:04 google-chrome-stable_current_amd64.deb
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
bash: https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git: No such file or directory
root@angel1957:/home/norizan/Downloads# https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
bash: https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git: No such file or directory
root@angel1957:/home/norizan/Downloads# ls -alh
total 51M
drwxrwxrwx 2 norizan norizan 4.0K Jul 18 18:04 .
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 ..
-rw-rw-r-- 1 norizan norizan 51M Jul 18 18:04 google-chrome-stable_current_amd64.deb
root@angel1957:/home/norizan/Downloads# git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
Command 'git' not found, but can be installed with:
apt install git
root@angel1957:/home/norizan/Downloads# apt install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui
gitk gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 9 not upgraded.
Need to get 4,731 kB of archives.
After this operation, 33.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:2 http://my.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.1 [803 kB]
Get:3 http://my.archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.1 [3,905 kB]
Fetched 4,731 kB in 5s (893 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 168828 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17025-1_all.deb ...
Unpacking liberror-perl (0.17025-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.17.1-1ubuntu0.1_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.1_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.1) ...
Setting up git-man (1:2.17.1-1ubuntu0.1) ...
Setting up liberror-perl (0.17025-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.1-1ubuntu0.1) ...
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
Cloning into 'rtl8812AU_8821AU_linux'...
remote: Counting objects: 1589, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 1589 (delta 4), reused 6 (delta 4), pack-reused 1573
Receiving objects: 100% (1589/1589), 3.58 MiB | 1.78 MiB/s, done.
Resolving deltas: 100% (981/981), done.
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# ls -alh
total 51M
drwxrwxrwx 3 norizan norizan 4.0K Jul 20 01:26 .
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 ..
-rw-rw-r-- 1 norizan norizan 51M Jul 18 18:04 google-chrome-stable_current_amd64.deb
drwxr-xr-x 9 root root 4.0K Jul 20 01:26 rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads# cd
root@angel1957:~# pwd
/root
root@angel1957:~# ls -alh
total 28K
drwx------ 4 root root 4.0K Jul 19 01:32 .
drwxr-xr-x 24 root root 4.0K Jul 18 17:49 ..
-rw------- 1 root root 123 Jul 19 01:32 .bash_history
-rw-r--r-- 1 root root 3.1K Apr 9 19:10 .bashrc
drwx------ 2 root root 4.0K Apr 27 02:23 .cache
drwx------ 3 root root 4.0K Jul 18 18:25 .gnupg
-rw-r--r-- 1 root root 148 Ogos 17 2015 .profile
root@angel1957:~# pwd
/root
root@angel1957:~# cd /home/norizan/Downloads
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# ls -alh
total 51M
drwxrwxrwx 3 norizan norizan 4.0K Jul 20 01:26 .
drwxr-xr-x 18 norizan norizan 4.0K Jul 20 00:35 ..
-rw-rw-r-- 1 norizan norizan 51M Jul 18 18:04 google-chrome-stable_current_amd64.deb
drwxr-xr-x 9 root root 4.0K Jul 20 01:26 rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads#
root@angel1957:/home/norizan/Downloads# cd rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# ls -alh
total 164K
drwxr-xr-x 9 root root 4.0K Jul 20 01:26 .
drwxrwxrwx 3 norizan norizan 4.0K Jul 20 01:26 ..
-rw-r--r-- 1 root root 64 Jul 20 01:26 clean
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 contrib
-rw-r--r-- 1 root root 570 Jul 20 01:26 CONTRIBUTORS.md
-rwxr-xr-x 1 root root 412 Jul 20 01:26 contributors.sh
drwxr-xr-x 3 root root 4.0K Jul 20 01:26 core
-rw-r--r-- 1 root root 207 Jul 20 01:26 dkms.conf
-rw-r--r-- 1 root root 1.2K Jul 20 01:26 fetch.sh
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 .git
-rw-r--r-- 1 root root 323 Jul 20 01:26 .gitignore
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 hal
-rw-r--r-- 1 root root 52 Jul 20 01:26 ifcfg-wlan0
drwxr-xr-x 4 root root 12K Jul 20 01:26 include
-rw-r--r-- 1 root root 110 Jul 20 01:26 Kconfig
-rw-r--r-- 1 root root 18K Jul 20 01:26 LICENSE
-rw-r--r-- 1 root root 511 Jul 20 01:26 .mailmap
-rw-r--r-- 1 root root 48K Jul 20 01:26 Makefile
-rw-r--r-- 1 root root 707 Jul 20 01:26 Makefile.dkms
drwxr-xr-x 3 root root 4.0K Jul 20 01:26 os_dep
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 platform
-rw-r--r-- 1 root root 2.3K Jul 20 01:26 README.md
-rw-r--r-- 1 root root 423 Jul 20 01:26 runwpa
-rw-r--r-- 1 root root 294 Jul 20 01:26 wlan0dhcp
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# make
Command 'make' not found, but can be installed with:
apt install make
apt install make-guile
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# apt install make
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
make-doc
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 154 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Get:1 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Fetched 154 kB in 1s (112 kB/s)
Selecting previously unselected package make.
(Reading database ... 169733 files and directories currently installed.)
Preparing to unpack .../make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Setting up make (4.1-9.1ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# apt install make-guile
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
make-doc
The following packages will be REMOVED:
make
The following NEW packages will be installed:
make-guile
0 upgraded, 1 newly installed, 1 to remove and 9 not upgraded.
Need to get 155 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/norizan/Downloads/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
./scripts/gcc-version.sh: line 26: gcc: command not found
./scripts/gcc-version.sh: line 27: gcc: command not found
make[1]: gcc: Command not found
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:332: recipe for target '/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[2]: *** [/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 127
Makefile:1552: recipe for target '_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux' failed
make[1]: *** [_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# apt install make-guile
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
make-doc
The following packages will be REMOVED:
make
The following NEW packages will be installed:
make-guile
0 upgraded, 1 newly installed, 1 to remove and 9 not upgraded.
Need to get 155 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://my.archive.ubuntu.com/ubuntu bionic/universe amd64 make-guile amd64 4.1-9.1ubuntu1 [155 kB]
Fetched 155 kB in 2s (83.3 kB/s)
(Reading database ... 169748 files and directories currently installed.)
Removing make (4.1-9.1ubuntu1) ...
Selecting previously unselected package make-guile.
(Reading database ... 169733 files and directories currently installed.)
Preparing to unpack .../make-guile_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make-guile (4.1-9.1ubuntu1) ...
Setting up make-guile (4.1-9.1ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# pwd
/home/norizan/Downloads/rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# ls -alh
total 200K
drwxr-xr-x 10 root root 4.0K Jul 20 01:32 .
drwxrwxrwx 3 norizan norizan 4.0K Jul 20 01:26 ..
-rw-r--r-- 1 root root 32K Jul 20 01:32 .cache.mk
-rw-r--r-- 1 root root 64 Jul 20 01:26 clean
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 contrib
-rw-r--r-- 1 root root 570 Jul 20 01:26 CONTRIBUTORS.md
-rwxr-xr-x 1 root root 412 Jul 20 01:26 contributors.sh
drwxr-xr-x 3 root root 4.0K Jul 20 01:26 core
-rw-r--r-- 1 root root 207 Jul 20 01:26 dkms.conf
-rw-r--r-- 1 root root 1.2K Jul 20 01:26 fetch.sh
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 .git
-rw-r--r-- 1 root root 323 Jul 20 01:26 .gitignore
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 hal
-rw-r--r-- 1 root root 52 Jul 20 01:26 ifcfg-wlan0
drwxr-xr-x 4 root root 12K Jul 20 01:26 include
-rw-r--r-- 1 root root 110 Jul 20 01:26 Kconfig
-rw-r--r-- 1 root root 18K Jul 20 01:26 LICENSE
-rw-r--r-- 1 root root 511 Jul 20 01:26 .mailmap
-rw-r--r-- 1 root root 48K Jul 20 01:26 Makefile
-rw-r--r-- 1 root root 707 Jul 20 01:26 Makefile.dkms
drwxr-xr-x 3 root root 4.0K Jul 20 01:26 os_dep
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 platform
-rw-r--r-- 1 root root 2.3K Jul 20 01:26 README.md
-rw-r--r-- 1 root root 423 Jul 20 01:26 runwpa
drwxr-xr-x 2 root root 4.0K Jul 20 01:32 .tmp_versions
-rw-r--r-- 1 root root 294 Jul 20 01:26 wlan0dhcp
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/norizan/Downloads/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o
/bin/sh: 1: gcc: not found
scripts/Makefile.build:332: recipe for target '/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[2]: *** [/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 127
Makefile:1552: recipe for target '_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux' failed
make[1]: *** [_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# gcc -v
Command 'gcc' not found, but can be installed with:
apt install gcc
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# apt install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gcc-7 libasan4 libatomic1 libc-dev-bin libc6-dev libcilkrts5
libgcc-7-dev libitm1 liblsan0 libmpx2 libquadmath0 libtsan0 libubsan0
linux-libc-dev manpages-dev
Suggested packages:
gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-7-multilib
gcc-7-doc gcc-7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg
libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc
The following NEW packages will be installed:
gcc gcc-7 libasan4 libatomic1 libc-dev-bin libc6-dev libcilkrts5
libgcc-7-dev libitm1 liblsan0 libmpx2 libquadmath0 libtsan0 libubsan0
linux-libc-dev manpages-dev
0 upgraded, 16 newly installed, 0 to remove and 9 not upgraded.
Need to get 15.8 MB/16.8 MB of archives.
After this operation, 73.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libitm1 amd64 8-20180414-1ubuntu2 [28.1 kB]
Get:2 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libatomic1 amd64 8-20180414-1ubuntu2 [9,084 B]
Get:3 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libasan4 amd64 7.3.0-16ubuntu3 [359 kB]
Get:4 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 liblsan0 amd64 8-20180414-1ubuntu2 [133 kB]
Get:5 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libtsan0 amd64 8-20180414-1ubuntu2 [289 kB]
Get:6 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libubsan0 amd64 7.3.0-16ubuntu3 [126 kB]
Get:7 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libcilkrts5 amd64 7.3.0-16ubuntu3 [42.5 kB]
Get:8 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libmpx2 amd64 8-20180414-1ubuntu2 [11.7 kB]
Get:9 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libquadmath0 amd64 8-20180414-1ubuntu2 [134 kB]
Get:10 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libgcc-7-dev amd64 7.3.0-16ubuntu3 [2,378 kB]
Get:11 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 gcc-7 amd64 7.3.0-16ubuntu3 [7,445 kB]
Get:12 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 gcc amd64 4:7.3.0-3ubuntu2 [5,192 B]
Get:13 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:14 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2,587 kB]
Get:15 http://my.archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB]
Fetched 15.8 MB in 8s (1,930 kB/s)
Selecting previously unselected package libitm1:amd64.
(Reading database ... 169749 files and directories currently installed.)
Preparing to unpack .../00-libitm1_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libitm1:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../01-libatomic1_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libatomic1:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../02-libasan4_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libasan4:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../03-liblsan0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking liblsan0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../04-libtsan0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libtsan0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../05-libubsan0_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libubsan0:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../06-libcilkrts5_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../07-libmpx2_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libmpx2:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../08-libquadmath0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libquadmath0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../09-libgcc-7-dev_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../10-gcc-7_7.3.0-16ubuntu3_amd64.deb ...
Unpacking gcc-7 (7.3.0-16ubuntu3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../11-gcc_4%3a7.3.0-3ubuntu2_amd64.deb ...
Unpacking gcc (4:7.3.0-3ubuntu2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../12-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../13-linux-libc-dev_4.15.0-24.26_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-24.26) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../14-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../15-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Setting up libquadmath0:amd64 (8-20180414-1ubuntu2) ...
Setting up libatomic1:amd64 (8-20180414-1ubuntu2) ...
Setting up libasan4:amd64 (7.3.0-16ubuntu3) ...
Setting up libcilkrts5:amd64 (7.3.0-16ubuntu3) ...
Setting up libubsan0:amd64 (7.3.0-16ubuntu3) ...
Setting up libtsan0:amd64 (8-20180414-1ubuntu2) ...
Setting up linux-libc-dev:amd64 (4.15.0-24.26) ...
Setting up liblsan0:amd64 (8-20180414-1ubuntu2) ...
Setting up libmpx2:amd64 (8-20180414-1ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libitm1:amd64 (8-20180414-1ubuntu2) ...
Setting up libgcc-7-dev:amd64 (7.3.0-16ubuntu3) ...
Setting up gcc-7 (7.3.0-16ubuntu3) ...
Setting up gcc (4:7.3.0-3ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# pwd
/home/norizan/Downloads/rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/norizan/Downloads/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o
cc1: error: code model kernel does not support PIC mode
scripts/Makefile.build:332: recipe for target '/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[2]: *** [/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux' failed
make[1]: *** [_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# pwd
/home/norizan/Downloads/rtl8812AU_8821AU_linux
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# ls -alh
total 232K
drwxr-xr-x 10 root root 4.0K Jul 20 01:41 .
drwxrwxrwx 3 norizan norizan 4.0K Jul 20 01:26 ..
-rw-r--r-- 1 root root 62K Jul 20 01:41 .cache.mk
-rw-r--r-- 1 root root 64 Jul 20 01:26 clean
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 contrib
-rw-r--r-- 1 root root 570 Jul 20 01:26 CONTRIBUTORS.md
-rwxr-xr-x 1 root root 412 Jul 20 01:26 contributors.sh
drwxr-xr-x 3 root root 4.0K Jul 20 01:41 core
-rw-r--r-- 1 root root 207 Jul 20 01:26 dkms.conf
-rw-r--r-- 1 root root 1.2K Jul 20 01:26 fetch.sh
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 .git
-rw-r--r-- 1 root root 323 Jul 20 01:26 .gitignore
drwxr-xr-x 8 root root 4.0K Jul 20 01:26 hal
-rw-r--r-- 1 root root 52 Jul 20 01:26 ifcfg-wlan0
drwxr-xr-x 4 root root 12K Jul 20 01:26 include
-rw-r--r-- 1 root root 110 Jul 20 01:26 Kconfig
-rw-r--r-- 1 root root 18K Jul 20 01:26 LICENSE
-rw-r--r-- 1 root root 511 Jul 20 01:26 .mailmap
-rw-r--r-- 1 root root 48K Jul 20 01:26 Makefile
-rw-r--r-- 1 root root 707 Jul 20 01:26 Makefile.dkms
drwxr-xr-x 3 root root 4.0K Jul 20 01:26 os_dep
drwxr-xr-x 2 root root 4.0K Jul 20 01:26 platform
-rw-r--r-- 1 root root 2.3K Jul 20 01:26 README.md
-rw-r--r-- 1 root root 423 Jul 20 01:26 runwpa
drwxr-xr-x 2 root root 4.0K Jul 20 01:32 .tmp_versions
-rw-r--r-- 1 root root 294 Jul 20 01:26 wlan0dhcp
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/norizan/Downloads/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o
cc1: error: code model kernel does not support PIC mode
scripts/Makefile.build:332: recipe for target '/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[2]: *** [/home/norizan/Downloads/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux' failed
make[1]: *** [_module_/home/norizan/Downloads/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
root@angel1957:/home/norizan/Downloads/rtl8812AU_8821AU_linux#
No comments:
Post a Comment