gcc parser filename error.

Bug #1043674 reported by stardiviner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-defaults (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

system: Ubuntu 12.04 LTS
gcc version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

What I do:
$ gcc -std=gnu99 -Wall -lm test.c

Error:
/tmp/cciGyu4N.o: In function `main': │
test.c:(.text+0x2f): undefined reference to `sin' │
collect2: ld returned 1 exit status

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1043674/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Martin Meredith (mez)
affects: ubuntu → gcc-defaults (Ubuntu)
Revision history for this message
Matthias Klose (doko) wrote :

Ubuntu's gcc defaults to the linker option --as-needed. objects should go before libraries on the command line.

Changed in gcc-defaults (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers