Error after Code make -- why is this error? How can this problem be solved?

Source: Internet
Author: User
Joyce @ Ubuntu:/mnt/HGFS/cmd_with_ubuntu/clink_test $ make
Gcc-g-d_gnu_source-C collect. c
/Tmp/ccrrmuk9.s: assembler messages:
/Tmp/ccrrmuk9.s: 4556: Fatal error: Can't write collect. O: Illegal seek
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
As: BFD (GNU binutils for Ubuntu) 2.21.0.20110327 assertion fail.../BFD/elf. C: 2522
/Tmp/ccrrmuk9.s: 4556: Fatal error: Can't close collect. O: Illegal seek
Make: *** [collect. O] Error 1

The makefile content is as follows:

Cc = gcc
Cflags =-g-d_gnu_source
Lflags =
Ofiles = collect. O process. O util. O source_db.o
Headers = clink. h

Files = copyright makefile clink.doc clink. h collect. C process. c util. c source_db.c

%. O: %. C $ (headers)
$ (CC) $ (cflags)-C $ <

Clink: $ (ofiles)
$ (CC) $ (lflags)-O clink $ (ofiles)-LM

Tar:
Rm-F clink.1.0 /*
CP $ (Files) clink.1.0
Tar-CVF clink.1.0.tar clink.1.0
Tar-CZF clink.1.0.tar.gz clink.1.0

Note: I added the source_db part in makefile. Please tell me why this error occurs.

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.