compiling 1.2.13 after applying io.h patch and elf patch

compiling 1.2.13 after applying io.h patch and elf patch

Post by Michael Grab » Sat, 08 Jun 1996 04:00:00



Hello
        I am still having problems.  I'm trying to recompile the dang
thing in order to enable IPX and then NCPFS.  I applied the elf patch
with the proper and same syntax as the io.h patch and I'm getting the
messages below.  Any ideas?  This is going to drive me to drink. Of
course this might be a better way to approach it :^).

Quote:>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386 -c ptrace.c
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386 -c ioport.c
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386 -c ldt.c
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386 -c setup.c
>setup.c: In function `setup_arch':
>setup.c:98: `end' undeclared (first use this function)
>setup.c:98: (Each undeclared identifier is reported only once
>setup.c:98: for each function it appears in.)
>setup.c:100: `etext' undeclared (first use this function)
>setup.c:101: `edata' undeclared (first use this function)
>setup.c:81: warning: `memory_start' might be used uninitialized in this function
>make[1]: *** [setup.o] Error 1
>make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
>make: *** [linuxsubdirs] Error 2
>andycapp:/usr/src/linux#

---                                                     ---
"Very troubleshootery." - P.A.Miller in 'Year of the Comet'
0-                                                    ISFMS


 
 
 

compiling 1.2.13 after applying io.h patch and elf patch

Post by Volker Kuhlma » Sun, 09 Jun 1996 04:00:00



> Hello
>         I am still having problems.  I'm trying to recompile the dang
> thing in order to enable IPX and then NCPFS.  I applied the elf patch
> with the proper and same syntax as the io.h patch and I'm getting the
> messages below.  Any ideas?  This is going to drive me to drink. Of
> course this might be a better way to approach it :^).

I am not sure what your setup is, but I installed 1.2.13 from Slackware
3.0 (InfoMagick CD), and all I had to do to get IPX going was to recompile
the kernel with IPX support (answer respective question with yes, while
running make config), compile ncpfs (no problems), insmod ncpfs, start
ipx_configure with automatic (as in utls/start_ipx), wait until the
auto-config of ipx has caught, and hey presto. (Actually, I did some
mucking around as well - the IPX howto is a great source of info). I
did not apply any patches to the kernel source (this Slackware setup
support both ELF and a.out).

Unless you have a different setup, or I am missing something vital...

Volker

--


 
 
 

1. ELF and io patches for 1.2.13?

Well, it's time to take that deep breath and recompile my kernel for the
first time.  I just can't live without my sound card.  :-)

I'm running RedHat 3.0.3 (Picasso) which comes with gcc 2.7.2.  I understand
that I need two patches to get 1.2.13 to compile with this setup: an ELF
patch and an io patch.  Can anyone tell me where the definitive versions
of these patches are?

Also, if you have done this recompile yourself, any other advice would be
much appreciated.  Does it go as smoothly as the HOWTO claims, or are there
any other hitches I should be aware of?

Many thanks,
Mark Newman.

2. 2.4.20-pre8 VM oops

3. patch to 1.2.13 to compile under ELF?

4. Variable reference question!

5. ELF Compile Patches for Linux 1.2.13

6. Serverwatch News (June 16, 1996)

7. Need GCC 2.7.2 patch to 1.2.13's io.h

8. can't compile ispell. "regex" functions, where?

9. 1.2.13 elf patches??

10. : Where can I find an ELF patch for 1.2.13?

11. Compiling 1.2.13 kernel with Token Ring Patch

12. Problems compiling in IPalias patch (1.2.13)

13. Linux 1.2.13 ELF Compile