The example in the Linux/unix system Programming manual is how to run under Linux __HTML5

Source: Internet
Author: User

Landlord rookie, from the "Linux/unix system Programming Manual" to learn, learn the procedure must first run the example to play, but did not know how to do 1 hours in the book example how to run, Baidu does not come out, casually dozen a make order drink a cup of water, found out a xx.a file, the problem solved. Take out and share with you, don't like to Spray, O (∩_∩) o haha ~

Environment: Win7 under VMWARE10+UBUNTU14

1, to the official website (http://www.man7.org/tlpi/code/index.html), click the download link to obtain the source address, copy down


2, directly under the Linux paste this address, download:

wget http://211.162.31.131/files/7227000001B694A3/www.man7.org/tlpi/code/download/tlpi-160726-dist.tar.gz- o AAA (Take a name, haha everybody do it)


3, decompression TAR-ZXVF AAA



The program in make Progconc found an error: Make: * * * No rule to make target '.  /libtlpi.a ', needed by ' syscall_speed '. Stop. It means that the superior document is less xx.a.


4, the solution: Under the Tlpi-dist directory make.


Drink a water, wait to finish ...


There is a need for the xx.a file, which means that you can boil casually play the students.


5, all have (green can execute file), run casually.



6, if out of learning needs, changed part of the code, directly in the chapters of the directory make good


Salute.


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.