Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I try to compile xen 4.3 from source on openSUSE 12.3 . Unfortunately there is an error while compiling ###################################### bdom/mini-os-x86_64-vtpm/mini-os ld: warning: section `.bss' type changed to PROGBITS ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    5

    xen compiling


    Hello,

    I try to compile xen 4.3 from source on openSUSE 12.3 .
    Unfortunately there is an error while compiling

    ######################################
    bdom/mini-os-x86_64-vtpm/mini-os
    ld: warning: section `.bss' type changed to PROGBITS
    /usr/xen/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os.o: In function `fprintf':
    /usr/include/bits/stdio2.h:97: undefined reference to `stderr'
    /usr/include/bits/stdio2.h:97: undefined reference to `stderr'
    /usr/include/bits/stdio2.h:97: undefined reference to `stderr'
    /usr/include/bits/stdio2.h:97: undefined reference to `stderr'
    /usr/include/bits/stdio2.h:97: undefined reference to `stderr'
    /usr/xen/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os.o:/usr/include/bits/stdio2.h:97: more undefined references to `stderr' follow
    make[2]: *** [/usr/xen/xen-4.3.0/stubdom/mini-os-x86_64-vtpm/mini-os] Error 1
    make[2]: Leaving directory `/usr/xen/xen-4.3.0/extras/mini-os'
    make[1]: *** [vtpm-stubdom] Error 2
    make[1]: Leaving directory `/usr/xen/xen-4.3.0/stubdom'
    make: *** [install-stubdom] Error 2
    ######################################

    can anybody help me ?

    best regards
    B.-D.

  2. #2
    Just Joined!
    Join Date
    Nov 2013
    Location
    Hopewell, Arkansas
    Posts
    29
    Might take a look at this. Googled ld: warning: section `.bss' type changed to PROGBITS

    When the BSS section is changed to PROGBITS, the effect is that there are more NUL bytes (zeroes) in the output file. When .bss is NOBITS (what it should be), the linker puts information in the output file that tell the operating system to wipe a section of memory to all zeroes when the program is loaded. If it's PROGBITS, then this information only tells the operating system to load the memory area from the file, and that section of the file is filled with zeroes. So the only negative effect is that the output file is bigger.


    Might be a little easier next time to do this.

    Add following repository using Yast:

    download.opensuse.org/repositories/Virtualization/openSUSE_12.3/x86_64/

    If you have xen already installed:

    sudo zypper up

    If you don't have xen installed:

    sudo zypper in xen
    Last edited by bcbuch; 11-16-2013 at 01:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •