tar -zxvf XXX.taz.gz
cd ./XXX/source
./configure --disable-cups --disable-iprint --enable-static=yes --enable-shared=no CC=aarch64-himix100-linux-gcc LD=aarch64-himix100-linux-ld ranlid=aarch64-himix100-linux-ranlid AR=aarch64-himix100-linux-ar --host=arm --target=arm-aarch64-linux
- 这里编译成静态库使用。
- configure过程中报错test,参考:link
- 接着执行:
make
,编译好的文件在bin文件夹下
- 在hi3559av100板卡中创建:
mkdir -p /usr/local/samba/bin /usr/local/samba/lib /usr/local/samba/private /usr/local/samba/var
- 将编译好的bin/smbd 拷贝到/usr/local/samba/bin中
- 在/usr/local/samba/lib目录下