解决方案
$ sudo apt-get install swigdos2unix: Command not found 问题描述
Build uboot-env-98f-eng Env Binary! dos2unix -F ./u-boot-env/uboot-env-98f-eng.txt make[1]: dos2unix: Command not found make[1]: *** [all] Error 127 make[1]: Leaving directory `/home/rtl819x/sd8_kernel/luna_8198f/bootloader' make: *** [bootloader_image] Error 2解决方案
$ sudo apt-get install dos2unixlzma.h: No such file or directory 问题描述 解决方案
$ sudo apt-get install liblzma-devautomake-1.15: command not found 问题描述 Some user space application needs the automake 1.15 version. If you do not have automake in
your build system, install it
解决方案
$ sudo apt-get install automakeaaclocal-1.15: command not found 问题描述
make -C util-linux-2.29
make[3]: Entering directory
'/home2/patrickliao/98f_src/0418/luna_8198f/user/util-linux/util-linux-2.29'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/home2/patrickliao/98f_src/0418/luna_8198f/user/util-linux/util-linux-2.29/config/missing
aclocal-1.15 -I m4
configure.ac:147: error: Could not locate the pkg-config autoconf
macros. These are usually located in /usr/share/aclocal/pkg.m4.
If your macros are in a different location, try setting the
environment variable AL_OPTS="-I/other/macro/dir" before running
./autogen.sh or autoreconf again.
configure.ac:147: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
解决方案
$ sudo apt-get install pkg-config
【Realtek sdk-4.4.1】RTL8198D编译环境搭建及固件编译_wgl307293845的博客-CSDN博客


![[Realtek sdk-4.4.1]Ubuntu14.04编译RTL8198D常见问题 [Realtek sdk-4.4.1]Ubuntu14.04编译RTL8198D常见问题](http://www.mshxw.com/aiimages/31/338526.png)
