bugGNU GRUB - Bugs: bug #29300, Can't compile

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29300: Can't compile

Submitted by:  Jonathan Andrews <jonshouse>
Submitted on:  Mon 22 Mar 2010 05:31:21 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 1.98Reproducibility: Every Time
Planned Release: None

Tue 18 May 2010 12:01:45 PM UTC, comment #2:

With original reporter being silent I assume bug to be fixed.

Vladimir Serbinenko <phcoder>
Project Administrator
Sun 28 Mar 2010 09:48:36 PM UTC, comment #1:

Carles pointed out the possible cause. But neither of us were able to recreate. Which gcc version do you use? Try the attached patch

(file #20057)

Vladimir Serbinenko <phcoder>
Project Administrator
Mon 22 Mar 2010 05:31:21 PM UTC, original submission:

OnSight_PC: 10.10.10.16> make
gcc -Iutil -I./util -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o grub_mkimage-util_grub_mkrawimage.o util/grub-mkrawimage.c
util/grub-mkrawimage.c:447:1: directives may not be used inside a macro argument
util/grub-mkrawimage.c:436:15: unterminated argument list invoking macro "_"
util/grub-mkrawimage.c: In function `usage':
util/grub-mkrawimage.c:452: `_' undeclared (first use in this function)
util/grub-mkrawimage.c:452: (Each undeclared identifier is reported only once
util/grub-mkrawimage.c:452: for each function it appears in.)
util/grub-mkrawimage.c:452: parse error before string constant
make: *** [grub_mkimage-util_grub_mkrawimage.o] Error 1

Jonathan Andrews <jonshouse>

 

Attached Files
file #20057:  inlinei18n.diff added by phcoder (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by jonshouse (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 May 2010 12:01:45 PM UTCphcoderOpen/ClosedOpen=>Closed
    Tue 18 May 2010 12:01:44 PM UTCphcoderStatusNone=>Fixed
    Sun 28 Mar 2010 09:48:36 PM UTCphcoderAttached File-=>Added inlinei18n.diff, #20057

    Back to the top


    Powered by Savane 3.1-cleanup1