G++ error

This is a discussion on G++ error within the Linux Programming forums, part of the Platform Specific Boards category; hi while compiling a qtdesigner application i got this error . any explanations please i dunno what the damn problem ...

  1. #1
    Registered User rohit's Avatar
    Join Date
    Feb 2002
    Posts
    69

    Unhappy G++ error

    hi while
    compiling a qtdesigner application i got this error . any explanations please i dunno what the damn problem is ???

    all my enviornment variables are set properly

    regards
    Rohit



    make
    g++ -c -pipe -Wall -W -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DQT_NO_DEBUG -DQT_NO_CHECK -I/usr/lib/qt3/include -I.ui/ -I/root/myprograms/qt/test -I.moc/ -I/usr/lib/qt3/mkspecs/default -o .obj/form1.o .ui/form1.cpp
    {standard input}: Assembler messages:
    {standard input}:5: Warning: Unrecognized .section attribute: want a,w,x
    {standard input}:5: Warning: Unrecognized .section attribute: want a,w,x
    {standard input}:5: Error: Rest of line ignored. First ignored character is `,'.
    make: *** [.obj/form1.o] Error 1

  2. #2
    Registered User rohit's Avatar
    Join Date
    Feb 2002
    Posts
    69
    hey i got the answer just remove
    -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DQT_NO_DEBUG -DQT_NO_CHECK

    i googled and found
    they are compiler specific for the pentium enhacements removing this helped and working fine now

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 09:33 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 12:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21