Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 11:45:21 -0800 (PST)
From:      Charlie Roots <osiris2002@yahoo.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   FreeBSD 3.0-RELEASE or CURRENT can COMPILE ! (update)
Message-ID:  <19990102194521.3290.rocketmail@send1e.yahoomail.com>

next in thread | raw e-mail | index | archive | help

Hi there,
I sent an email some 10 days ago complaining
about BuildWorld failures on CVSUPED code.

If you were tracing that feed, here's my current
situation.

I tried to be conservative with the old system
but it seemed not enough to get things working
or the system to become clean.  So after tring
the suggestions that helpful users gave me, unfortunately the system
was resisting the nice
approach, and needed some frying ;-)

So, I had a 2.2.2 CDROM, from there I manually copied the /bin and
/src directories.
I installed the /bin using its own install.sh script, and so did for
the /src (after backing
up the old (actually the more recent) /src)

Then I did a make world in /src, and installed
a news 2.2.2 kernel, now the system is clean but
a backwards operating system is running.

Since my original target was to establish a clean
3.0-current system, so I jumped to ftp.freebsd.org and got the
3.0-RELEASE /bin, /src, /proflib, and installed them also manually by
their own install.sh scripts
(after backing up the whole /src, and /obj of
the installed 2.2.2 system in case I get stuck
I should be able to recover the clean 2.2.2 system.

So, I made a make world on the 3.0-RELEASE /src
and all went well, after some strugling with
the aout-to-elf and aou-to-elf install.
Finally I get a booting 3.0-RELEASE, which can
compile and update the entire system from SOURCE,
this is called in FreeBSD terms (upgrading from source) and it really
gives you a flexible and controllable system.

Back to my greedy nature, I said ok now lets try
the previously downloaded (CVSUPed) 3.0-CURRENT
/src, and did a make world there, succefully.
Now I have on problem.

After I installed the 3.0-RELEASE system and thereafter my system is
ELF by default, I personally prefer to be ELF since it is the future
and aout is the past or at the best the dying present.  I  made sure
the system is ELF by doing an edit in /etc/make.conf, and by checking
/etc/objformat, and by initializing an environmental variable
OBJFORMAT. (ENOUGH EAH ?)

ok, now I also check the newly born binaries of the operating system,
they are ELF, and any newly compiled binaries, they are ELF.  I used
an editor to open the binary and look for ELFFreeBSD
string in the first few bytes of binary header.

The problem:
------------

X windows got angry, and could not start saying that libX11.so.6.1 not
found then it has bad magic ( 2 errors generated), also another libX...
library (can't remember its name now)
so I figured rebuilding the X from scratch on the EFL system would
solve the problem, actually the whole source of X system was residing
long ago on my system (version 6.331), so I gave it a try.
Still the same error message.
I browsed for the libs, I found an elf version of the X libraries in
/usr/lib, and all newly born X binaries are ELF, so what's the problem.

The Bigger Problem
------------------

The system won't boot with an ELF kernel, and only accepts the aout
type, that is automatically generated during the upgrade
(kernel.GENERIC),
I tried to convince /etc/make to do this, and checked for the
/boot/loader, and /boot.config
no luck until now.

Any help is appreciated.
Thanks in advance.



==
MAY THE FORCE BE WITH YOU.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990102194521.3290.rocketmail>