SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
me able to complie gcc-2.95.3,but when i am trying to compile linux0.0.1 with gcc-2.95.3,it is giving me the following error message:--
Kindly have a look over it & reply me asap.
In file included from vsprintf.c:7:
../include/string.h:337: warning: conflicting types for built-in function `memcpy'
../include/string.h:364: warning: conflicting types for built-in function `memcmp'
../include/string.h:396: warning: conflicting types for built-in function `memset'
vsprintf.c: In function `number':
vsprintf.c:52: warning: suggest explicit braces to avoid ambiguous `else'
vsprintf.c:67: warning: suggest explicit braces to avoid ambiguous `else'
vsprintf.c: In function `vsprintf':
../include/string.h:271: Invalid `asm' statement:
../include/string.h:271: fixed or forbidden register 5 (di) was spilled for class DIREG.
make[1]: *** [vsprintf.o] Error 1
make[1]: Leaving directory `/usr/src/linux0.0.1/kernel'
make: *** [kernel/kernel.o] Error 2
I do not see the point, lol, maybe you might learn something about Linus.. hes mind set and the evolution of the Linux kernel? If that is the case it may be worth it.. still I find it kinda cool.
As I mentioned, I think you'll need to try compiling a later version of the kernel which was actually working. the 0.0.0 version must be compiled with en even earlier version of compiler and even then may not work at all. There were a couple of distros built on the 0.0.99 version though, While not the first version, that's still ancient enough hopefully.
There were a couple of distros built on the 0.0.99 version though, While not the first version, that's still ancient enough hopefully.
I have Slackware 1.1.2 working in a virtual machine (VMware), which uses the 0.99 kernel.
I don't remember exactly which compiler it has (can check tonight at home).
If you're interested, we can think of a way to send this VM to you so that you can experiment with it.
Just checked the documentation for Slackware 1.1.2. It says this about the D series of disks:
Quote:
./d1 - ./d6 Program development. GCC/G++/Objective C 2.5.8, make (GNU and
BSD), byacc and GNU bison, flex, the 4.5.19 C libraries, gdb,
kernel source for 0.99pl15, SVGAlib, ncurses, clisp, f2c, p2c,
m4, perl, rcs.
Like I said, I have it installed & working (including X w/ fvwm) with the 0.99.15 kernel + sources.
Never tried to compile the 0.0.1 kernel though, but I did download the sources once out of curiosity...
Before going crazy and installing a new compiler, modify the makefile to use the additional gcc option -std=c89. If that doesn't work, get a new compiler (or see below.) And like others implied, just because there's a version doesn't mean it works.
ta0kira
PS Maybe add -ffreestanding, also.
PPS Maybe you should do this, instead (taking away -std=c89):
-traditional will give you pre-standard compiler emulation, but it requires -E, which sends preprocessed output to standard output; therefore, you must receive it with another call to gcc. It will take some hacking to get it to work, but hopefully less time than the hour it takes to build gcc + additional hacking on top of that.
ok.......now me switching to complie kernel 0.99.15,but do it will require gcc-2.95.3 or some lower
Also,from where i will get the slackware 1.1.2 distro?I tried the below link:-- http://mirror.rol.ru/slackware/slackware-1.1.2/d1/
but in that,i am getting some gcc libs n all,so in nutshell me not getting how to use slackware 1.1.2.
Also,Niels.Horn,i want that u please tel me the compiler & regarding virtual machine(i am used to it).
Thanks in advance & hope to get 0.99 kernel working soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.