IMX8MM -- Yocto构建遇见的错误及解决方法:

IMX8MM Yocto构建遇见的错误及解决方法:

  • 1 bison-3.0.4 error
  • 2 Opencv BB_NO_NETWORK Error :
  • 3 Yocto构建时出现U-boot 问题
  • 4 Yocto构建时出现Linux kernel编译问题
  • 5 wayland-native
  • 6 cross-localedef-native
  • 7 wayland-protocols
  • 8 mesa

硬件:米尔 IMX8MM

1 bison-3.0.4 error

| ../bison-3.0.4/lib/fseterr.c: In function 'fseterr':
| ../bison-3.0.4/lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
|   #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."

解决方法:
进入bison-3.0.4目录,文件中进行替换和添加内容。
在 lib 目录下的所有以 .c 结尾的文件中,将字符串 IO_ftrylockfile 替换为 IO_EOF_SEEN,并在 lib/stdio-impl.h 文件末尾添加一个 C 语言宏定义
在这里插入图片描述

sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

2 Opencv BB_NO_NETWORK Error :

ERROR: opencv-4.2.0.imx-r0 do_fetch: Network access disabled through
BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY)
but access requested with command LANG=C git -c
core.fsyncobjectfiles=0 fetch -f --prune --progress
https://source.codeaurora.org/external/imx/opencv-imx.git
refs/:refs/ (for url
git://source.codeaurora.org/external/imx/opencv-imx.git;protocol=https;branch=4.2.0_imx;name=opencv)

在这里插入图片描述
当设置了 BB_NO_NETWORK 为 1 时,构建系统会禁止所有网络访问。这在一些场景下很有用,例如在没有互联网连接或者出于安全原因需要禁止网络访问的情况下。设置了 BB_NO_NETWORK 后,构建系统将不会尝试下载任何软件包或依赖项,而是会依赖本地缓存的文件。

解决
将 local.conf 文件里面的 BB_NO_NETWORK 设置删除或者设置为0

BB_NO_NETWORK  = “0”

3 Yocto构建时出现U-boot 问题

ERROR: u-boot-imx-2018.03-r0 do_fetch: Fetcher failure: Unable to
resolve ‘cc2c0393 14066949b84d48c035e9e08380ddc56dcb’ in upstream git
repository in git ls-remote out put for
//home/hufan/MYIR-i.MX8MM-Uboot ERROR: u-boot-imx-2018.03-r0 do_fetch:
Function failed: base_do_fetch ERROR: Logfile of failure stored in:
/media/hufan/new-im8xmm-20190527/build_8m_mini
_0706/tmp/work/myd_imx8mm-poky-linux/u-boot-imx/2018.03-r0/temp/log.do_fetch.18702
ERROR: Task
(/media/hufan/new-im8xmm-20190527/sources/meta-myir/meta-myir-bsp/recip
es-bsp/u-boot/u-boot-imx_2018.03.bb:do_fetch) failed with exit code
‘1’ ERROR: linux-imx-4.14.98-r0 do_fetch: Fetcher failure: Unable to
resolve ‘111d006bf 101e8aebab28acdd034d7fe1281c0e77c1’ in upstream git
repository in git ls-remote out put for
//home/hufan/MYIR-i.MX8MM-Linux ERROR: linux-imx-4.14.98-r0 do_fetch:
Function failed: base_do_fetch

解决:这种情况是由于U-Boot更新后,Yocto没有更新的对应的版本。
修改步骤如下:

1. 进⼊U-Boot源码⽬录,使⽤"git log"查看commit id。
2. 修改Yocto源码⽬录下的"source/meta-myir/meta-myir-bsp/recipes-bsp/u-boot/u-boot-imx_2018.03.bb"⽂
件中的SRCREV变量为查询到的commit id即可。

4 Yocto构建时出现Linux kernel编译问题

同样是Linux Kernel更新后,Yocto没有更新版本。修改步骤如下:

1. 进⼊Linux源码⽬录,使⽤"git log"查看commit id并复制
2. 修改Yocto源码⽬录下的"source/meta-myir/meta-myir-bsp/recipes-kernel/linux/linux-imx_4.14.98.bb"⽂
件中的SRCREV变量为commit id即可。

5 wayland-native

ERROR: wayland-native-1.17.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS=“unix:path=/run/user/1000/bus,guid=c5a2e3679a31b7ffd15fafb165b85632”; export SSH_AGENT_PID=“1307”; export SSH_AUTH_SOCK=“/run/user/1000/keyring/ssh”; export ALL_PROXY=“socks5://172.16.112.237:1090”; export https_proxy=“http://127.0.0.1:7890”; export http_proxy=“http://127.0.0.1:7890”; export PATH=“/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/scripts/native-intercept:/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/scripts:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/usr/bin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/usr/sbin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/usr/bin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/sbin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/recipe-sysroot-native/bin:/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/bitbake/bin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/hosttools”; export HOME=“/home/hh”; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/hh/MYIR-Yocto-i.MX8MM/downloads/ ‘https://wayland.freedesktop.org/releases/wayland-1.17.0.tar.xz’ --progress=dot -v failed with exit code 4, output:
–2024-01-30 03:15:48-- https://wayland.freedesktop.org/releases/wayland-1.17.0.tar.xz
Connecting to 127.0.0.1:7890… failed: Connection refused.
ERROR: wayland-native-1.17.0-r0 do_fetch: Fetcher failure for URL: ‘https://wayland.freedesktop.org/releases/wayland-1.17.0.tar.xz’. Unable to fetch URL from any source.
ERROR: wayland-native-1.17.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/wayland-native/1.17.0-r0/temp/log.do_fetch.12853
ERROR: Task (virtual:native:/home/hh/MYIR-Yocto-i.MX8MM/sources/meta-myir/meta-myir-bsp/recipes-graphics/wayland/wayland_1.17.0.bb:do_fetch) failed with exit code ‘1’

解决:
downloads 目录下面只有 wayland-1.16.0.tar.xz ,所有我自己去下载 1.17的版本放进去即可。
手动下载源代码包: 手动从浏览器或其他工具中下载 wayland-1.17.0.tar.xz,并将其放置在 Yocto 项目的 downloads 目录中。

6 cross-localedef-native

ERROR: cross-localedef-native-2.27-r0 do_compile: oe_runmake failed
ERROR: cross-localedef-native-2.27-r0 do_compile: Function failed: do_compile (log file is located at /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/cross-localedef-native/2.27-r0/temp/log.do_compile.12121)
ERROR: Logfile of failure stored in: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/cross-localedef-native/2.27-r0/temp/log.do_compile.12121
Log data follows:
| DEBUG: SITE files [‘endian-little’, ‘common-linux’, ‘common-glibc’, ‘bit-64’, ‘x86_64-linux’, ‘common’]
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| gcc -isystem/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/cross-telephone.o ld-time.o linereader.o localedef.o locarchive.o locfile.o record-status.o repertoire.o


parse.o argp-pv.o argp-xinl.o error.o getopt.o getopt1.o md5.o obstack.o asprintf.o getdelim.o localedef_extra.o obstack_printf.o vasprintf.o
| argp-fmtstream.o: In function _argp_fmtstream_update': | argp-fmtstream.c:(.text+0x231): undefined reference to _IO_fwide’
| argp-fmtstream.c:(.text+0x3e6): undefined reference to _IO_fwide' | argp-help.o: In function argp_failure’:
| argp-help.c:(.text+0x2123): undefined reference to `_IO_fwide’
| collect2: error: ld returned 1 exit status
| ERROR: oe_runmake failed
| Makefile:60: recipe for target ‘localedef’ failed
| make: *** [localedef] Error 1
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/x86_64-linux/cross-localedef-native/2.27-r0/temp/log.do_compile.12121)
ERROR: Task (/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.27.bb:do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 817 tasks of which 730 didn’t need to be rerun and 1 failed.

解决:
在文件 cross-localedef-native_2.27.bb 里面添加 -D_IO_fwide=fwide。

CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'  -D_IO_fwide=fwide"

在这里插入图片描述

7 wayland-protocols

ERROR: wayland-protocols-1.17.imx-r0 do_fetch: Fetcher failure: Fetch
command export PSEUDO_DISABLED=1; export
DBUS_SESSION_BUS_ADDRESS=“unix:path=/run/user/1000/bus,guid=c5a2e3679a31b7ffd15fafb165b85632”; export SSH_AGENT_PID=“1307”; export
SSH_AUTH_SOCK=“/run/user/1000/keyring/ssh”; export
ALL_PROXY=“socks5://172.16.112.237:1090”; export
https_proxy=“http://127.0.0.1:7890”; export
http_proxy=“http://127.0.0.1:7890”; export
PATH=“/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/scripts:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot-native/usr/bin/allarch-poky-linux:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot-native/usr/sbin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot-native/usr/bin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot-native/sbin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/recipe-sysroot-native/bin:/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/bitbake/bin:/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/hosttools”;
export HOME=“/home/hh”; LANG=C git -c core.fsyncobjectfiles=0 fetch -f
–prune --progress https://source.codeaurora.org/external/imx/wayland-protocols-imx.git
refs/:refs/ failed with exit code 128, output: fatal: unable to
access
‘https://source.codeaurora.org/external/imx/wayland-protocols-imx.git/’:
Failed to connect to 127.0.0.1 port 7890: Connection refused ERROR:
wayland-protocols-1.17.imx-r0 do_fetch: Fetcher failure for URL:
‘git://source.codeaurora.org/external/imx/wayland-protocols-imx.git;protocol=https;branch=wayland-protocols-imx-1.17’.
Unable to fetch URL from any source. ERROR:
wayland-protocols-1.17.imx-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/all-poky-linux/wayland-protocols/1.17.imx-r0/temp/log.do_fetch.20943
ERROR: Task
(/home/hh/MYIR-Yocto-i.MX8MM/sources/meta-myir/meta-myir-bsp/recipes-graphics/wayland/wayland-protocols_1.17.imx.bb:do_fetch)
failed with exit code ‘1’

解决:
主要是 https://source.codeaurora.org/external/imx/wayland-protocols-imx.git 这个网站进不去了屏蔽这个网站下载及去github下载,并将其放置在 Yocto 项目的 downloads 目录中即可。

过程:
使用grep 查看 source.codeaurora.org 在哪些文件,只修改有错误的文件。
在这里插入图片描述

在这里插入图片描述

删除后面部分即可。
在这里插入图片描述

从github下载
https://github.com/nxp-imx/wayland-protocols-imx
或者
https://coral.googlesource.com/wayland-protocols-imx/

或者官网下载
https://wayland.freedesktop.org/releases.html
下载下来应该是zip格式,解压缩后面,重新压缩为wayland-protocols-imx-1.17.tar.xz,并将其放置在 Yocto 项目的 downloads 目录中。

8 mesa

ERROR: mesa-2_17.3.8-r0 do_configure: configure failed
ERROR: mesa-2_17.3.8-r0 do_configure: Function failed: do_configure (log file is located at /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/temp/log.do_configure.26972)
ERROR: Logfile of failure stored in: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/temp/log.do_configure.26972
Log data follows:
| DEBUG: SITE files [‘endian-little’, ‘bit-64’, ‘arm-common’, ‘arm-64’, ‘common-linux’, ‘common-glibc’, ‘aarch64-linux’, ‘common’]
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files [‘endian-little’, ‘bit-64’, ‘arm-common’, ‘arm-64’, ‘common-linux’, ‘common-glibc’, ‘aarch64-linux’, ‘common’]
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.15.1


| checking for PTHREAD_PRIO_INHERIT… yes
| checking for libelf… no
| checking for elf_memory in -lelf… no
| …/mesa-17.3.8/configure: line 22925: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/recipe-sysroot-native/usr/bin/llvm-config6.0: No such file or directory
| …/mesa-17.3.8/configure: line 22908: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/recipe-sysroot-native/usr/bin/llvm-config6.0: No such file or directory
| …/mesa-17.3.8/configure: line 22927: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/recipe-sysroot-native/usr/bin/llvm-config6.0: No such file or directory
| …/mesa-17.3.8/configure: line 22928: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/recipe-sysroot-native/usr/bin/llvm-config6.0: No such file or directory
| checking for libdrm >= 2.4.75… yes
| checking for glproto >= 1.4.14… yes
| checking for dri2proto >= 2.8… yes
| checking for xxf86vm… yes
| checking for x11 xext xdamage >= 1.1 xfixes x11-xcb xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xxf86vm… yes
| checking for wayland-scanner… /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/recipe-sysroot-native/usr/bin/wayland-scanner
| checking for wayland-client >= 1.11… yes
| checking for wayland-server >= 1.11… yes
| configure: error: wayland-protocols >= 1.8 is needed to compile the wayland platform
| NOTE: The following config.log files may provide further information.
| NOTE: /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/build/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/hh/MYIR-Yocto-i.MX8MM/build_8m_mini/tmp/work/aarch64-mx8mm-poky-linux/mesa/2_17.3.8-r0/temp/log.do_configure.9383)
ERROR: Task (/home/hh/MYIR-Yocto-i.MX8MM/sources/poky/meta/recipes-graphics/mesa/mesa_17.3.8.bb:do_configure) failed with exit code ‘1’

https://archive.mesa3d.org//older-versions/17.x/

sudo apt-get install libelf-dev

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/446110.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

React Navite环境搭建

React Navite官网地址 React Native 中文网 使用React来编写原生应用的框架 创建React Navite项目命令(目录必须是英文) npx react-nativelatest init AwesomeProject 如果你是想把 React Native 集成到现有的原生项目中,则步骤完全不同…

多项式回归算法模拟

import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression from sklearn.preprocessing import PolynomialFeatures# 生成随机数作为x变量,范围在-5到5之间,共500个样本 x np.random.uniform(-5, 5, siz…

Java开发从入门到精通(一):Java的进阶语法知识

Java大数据开发和安全开发 Java的方法1.1 方法是什么1.1.1 方法的定义1.1.2 方法如何执行?1.1.3 方法定义时注意点1.1.4 使用方法的好处是? 1.2 方法的多种形式1.2.1 无参数 无返回值1.2.2 有参数 无返回值 1.3 方法使用时的常见问题1.4 方法的设计案例1.4.1 计算1-n的和1.4.…

[C/C++]string类常用接口介绍及模拟实现string类

一:Cstring类的由来 在C语言中,字符串是以\0结尾的一些字符的集合,为了操作方便,C标准库中提供了一些str系列的库函数,但是这些库函数与字符串是分离开的,不太符合OOP的思想,而且底层空间需要用…

【CSS面试题】高度塌陷问题及解决

什么情况下产生 (when 父盒子没有定义高度&#xff0c;但是子元素有高度&#xff0c;希望用子盒子撑起父盒子的高度&#xff0c;但是子盒子添加了浮动属性之后&#xff0c;父盒子高度为0 <template><div class"father"><div class"son"&…

Gitlab修改仓库权限为public、Internal、Private

Public&#xff08;公开&#xff09;&#xff1a;所有人都可以访问该仓库&#xff1b; Internal&#xff08;内部&#xff09;&#xff1a;同一个GitLab群组或实例内的所有用户都可以访问该仓库&#xff1b; Private&#xff08;私人&#xff09;&#xff1a;仅包括指定成员的用…

Dynamo处理Excel——调用Microsoft.Office.Interop.Excel教程

你好&#xff0c;这里是BIM的乐趣&#xff0c;我是九哥~ 今天我们来聊聊如何通过Dynamo处理Excel数据以及格式&#xff0c;Dynamo自带的节点肯定是不行&#xff0c;所以我们需要来用Python解决&#xff08;当然有个节点包 Bumblebee&#xff0c;我在案例百解教程里有过介绍&a…

pytorch实现分割模型TransUNet

TransUNet是一个非常经典的图像分割模型。该模型出现在Transformer引入图像领域的早期&#xff0c;所以结构比较简单&#xff0c;但是实际上效果却比很多后续花哨的模型更好。所以有必要捋一遍pytorch实现TransUNet的整体流程。 首先&#xff0c;按照惯例&#xff0c;先看一下…

Text Field文本输入框

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 Text Field文本输入框 一、最基本的本文输入框1、基础示例2、一些表单属性3、验证 二、多行文本 一、最基本的本文输入框 1、基础示例 import {Box, TextField} from "…

Java开发:对象间复制属性,方法归纳

在Java开发中&#xff0c;对象间复制属性是一项常见的任务&#xff0c;特别是在处理层&#xff08;如控制器层&#xff09;与服务层或数据传输对象&#xff08;DTOs&#xff09;之间的数据转换时。有多种方法可以实现User对象到UserDTO对象的属性复制&#xff0c;下面列举了几种…

搭建Android Studio开发环境

一、JDK 1、下载 2、安装 双击进行安装&#xff0c;修改安装路径为&#xff1a;D:\Java\jdk-17.0.4.1即可&#xff0c;安装完成后目录如下&#xff1a; 配置环境变量 3、测试 WinR&#xff0c;输入cmd&#xff0c;按Enter后&#xff0c;键入&#xff1a;java --version&…

分布式执行引擎ray入门--(3)Ray Train

Ray Train中包含4个部分 Training function: 包含训练模型逻辑的函数 Worker: 用来跑训练的 Scaling configuration: 配置 Trainer: 协调以上三个部分 Ray TrainPyTorch 这一块比较建议直接去官网看diff&#xff0c;官网色块标注的比较清晰&#xff0c;非常直观。 impor…

C语言学习--练习4(二维数组)

目录 1.统计有序数组中的负数 2.矩阵对角线元素和 3.最富有客户的资产总量 4.托普利兹矩阵 5.矩阵中的幸运数 6.二进制矩阵中的特殊位置 7.岛屿的周长 1.统计有序数组中的负数 //直接遍历二维数组即可 int countNegatives(int** grid, int gridSize, int* gridColSize) …

大厂面试-好未来一面算法之求最长无重复子串长度

目录指引 大厂面试-好未来一面算法之求最长无重复子串长度本文学习目标或巩固的知识点 3. 无重复字符的最长子串&#x1f7e1;&#x1f7e2;通过题目可知题解结果验证 大厂面试-好未来一面算法之求最长无重复子串长度 本文学习目标或巩固的知识点 学习如何处理经典题目《最长…

Java 中的 File 类常用方法介绍

Java 中的 File 类是 java.io 包的一部分&#xff0c;它提供了丰富的文件操作方法。File 类可以用来表示文件和目录路径名的抽象表示形式&#xff0c;即它可以用来获取文件或目录的属性&#xff0c;也可以用来创建、删除、重命名文件和目录。下面是一些常用的 File 类方法&…

OSPF Router-ID 实验简述

如果要运行OSPF协议&#xff0c;必须存在Router ID。Router ID是一个32比特无符号整数&#xff0c;是一台路由器在自治系统中的唯一标识。 在实际网络部署中&#xff0c;建议手工配置OSPF的Router ID&#xff0c;因为这关系到协议的稳定。 如果不指定&#xff0c;启运OSPF进程后…

【Web开发】深度学习HTML(超详细,一篇就够了)

&#x1f493; 博客主页&#xff1a;从零开始的-CodeNinja之路 ⏩ 收录文章&#xff1a;【Web开发】深度学习html(超详细,一篇就够了) &#x1f389;欢迎大家点赞&#x1f44d;评论&#x1f4dd;收藏⭐文章 目录 HTML1. HTML基础1.1 什么是HTML1.2 认识HTML标签1.3 HTML文件基本…

HTML使用

文章目录 一、简介二、HTML快速入门三、基础标签四、图片、音频、视频标签五、超链接标签六、列表标签七、表格标签八、布局标签九、表单标签十、表单向标签 一、简介 二、HTML快速入门 ​ <html><head><title>你好</title></head><body>再…

Springboot整合Mybaits启动过程

Springboot整合Mybaits启动过程 1.前言2.MybatisAutoConfiguration3.SqlSessionFactoryBean3.1 XMLConfigBuilder.parse()3.1.1 XMLMapperBuilder.parse()3.1.1.1 XMLStatementBuilder.parse() 4.SqlSession4.1 Executor 1.前言 直接加载mybatis配置文件&#xff0c;然后创建S…

代码训练LeetCode(7)删除有序数组中的重复项

代码训练(7)LeetCode之删除有序数组中的重复项 Author: Once Day Date: 2024年3月10日 漫漫长路&#xff0c;才刚刚开始… 全系列文章可参考专栏: 十年代码训练_Once-Day的博客-CSDN博客 参考文章: 26. 删除有序数组中的重复项 - 力扣&#xff08;LeetCode&#xff09;力扣…