The fourth experimental report on the design of information security system

Source: Internet
Author: User

Lab Report: Peripheral Drive Design team members: 20145306 Zhangwenjin, 20145334 Zhao, 20145331 Wei.

Lab Instrument: Windows Xp,arm Development Board.

Experiment contents, steps and experience

1.

Enter/arm2410cl/exp/drivers/01_demo and use the VI Editor to read the source code.

2.

There are two methods of compiling in Makefile, you can use GCC on this computer, or you can use the cross compiler to compile.

If there is a problem at compile time, it is necessary to build a Linux connection under/USR/SRC, you can use the following command:[[email protected] 01_demo]# cd /usr/src/

[[email protected] src]# ln -sf linux-2.4.20-8 linux[[email protected] src]# lsdebug linux linux-2.4 linux-2.4.20-8 redhat




实验中遇到的问题

failed to compile with makefile file, prompting for function error in header file. According to the error explanation, should be in the makefile path not found in the header file of the library function, so in the Redhat system to find the path of the kernel header file, replace it with the original in the makefile file path, in the execution make command compile, successful.
When compiling test file test_demo.c, using GCC compilation is unsuccessful, and compiling with ARMV4L-UNKNOWN-LINUX-GCC is unsuccessful. The device node was not established when using GCC compilation, and the build succeeded after the node was established.




The fourth experimental report on the design of information security system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.