Compiling Guest Additions in a SuSE 9.1 Guest

Discussions about using Linux guests in VirtualBox.
Post Reply
Linopus
Posts: 4
Joined: 30. Dec 2018, 17:21

Compiling Guest Additions in a SuSE 9.1 Guest

Post by Linopus »

Dear readers,
I installed a SuSE 9.1 guest machine (kernel 2.6.4) in Virtualbox version 5.2.22 (host: Ubuntu 18.04) because I need to recover drawings made with an abandoned software in an abandoned file format.
In the guest I added kernel-syms (i. e. kernel-headers), gcc (version 3.3.3) and make, mounted the guest extension iso and did sh ./VBoxLinuxAdditions.run, because the Virtualbox documentation states that SuSE 9 with 2.6.x kernels is supported by guest additions.
However, the script ends with the following message:
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong
In this setup-log I find the following error messages:
cc1: error: unrecognized option '-Wno-declaration-after-statement'
cc1: error: unrecognized option '-fno-pie'
Is it possible to compile der guest additions for SuSE 9.1? Helpful hints are appreciated, thanks in advance!
Last edited by socratis on 30. Dec 2018, 19:34, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by andyp73 »

It looks as though the Makefile for the guest additions are using compiler flags which are not supported by the version of gcc you have. The build docs for VirtualBox as a whole say gcc v3.3.3 as a minimum so you should be OK.

Does SuSE 9.1 have an option for installing a newer version of gcc?

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Linopus
Posts: 4
Joined: 30. Dec 2018, 17:21

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by Linopus »

Dear Andy,

thank you for your quick response. I just checked if there is a newer version of gcc on the DVD-Iso-image I have, but no, there isn't. So I have to find either a newer compatible version of gcc in the internet, or a way to circumvent the limitations of gcc 3.3.3 by modifying the Makefile(s). I will try.

Tobias
Linopus
Posts: 4
Joined: 30. Dec 2018, 17:21

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by Linopus »

I downloaded SuSE 9.3 with kernel 2.6.11 and gcc 3.3.5, as it contains the application skencil, too, and installed it in a virtual machine. I get the same errors trying to compile the guest additions as with SuSE 9.1. As a workaround for the missing guest additions I configured a host-only net with ftp and move my files that way to the host.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by andyp73 »

Do you have a link to the ISO files that you have been using?

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by socratis »

LinuxQuestions.org > ISOs > SUSE > Suse 9.1 Personal.
That's where I got the SUSE 9.1 one, installed it (very finicky), but haven't had the chance to test the GAs installation.

There's also a 9.3 plus some more in the SUSE section if you're interested...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Linopus
Posts: 4
Joined: 30. Dec 2018, 17:21

Re: Compiling Guest Additions in a SuSE 9.1 Guest

Post by Linopus »

andyp73 wrote:Do you have a link to the ISO files that you have been using?

-Andy.
SuSE 9.1 Iso image (DVD)
https://archive.org/download/SuSE_Linux ... 10.001.iso
and
SuSE 9.3 Iso images (5 CDs, the corresponding DVD seems to be corrupted)
https://archive.org/download/SuSE_Linux ... 86-CD1.iso
https://archive.org/download/SuSE_Linux ... 86-CD2.iso
https://archive.org/download/SuSE_Linux ... 86-CD3.iso
https://archive.org/download/SuSE_Linux ... 86-CD4.iso
https://archive.org/download/SuSE_Linux ... 86-CD5.iso

I wish you a happy new year 2019
Tobias
Post Reply