Kernel headers....ppp, 2.4, 2.5

Kernel headers....ppp, 2.4, 2.5

Post by Ivan Gyurdie » Sat, 20 Jul 2002 02:20:07



Hi,
Having some trouble compiling kdenetwork.

/usr/include/linux/if_ppp.h:90: use of enum `NPmode' without previous
   declaration

This is defined in ppp_defs.h, but apparently it doesn't get included
anywhere...  

Should ppp_defs.h be included in if_ppp.h
(that goes for if_pppvar.h too) ?
I see those headers use structures from ppp_defs.h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Keeping 2.4 headers and libraries under 2.5

I am soon to upgrade a Solaris x86 2.4 system to 2.5. However, I
still want to be able to build binaries to run on 2.4.

I was woundering if I could get away with copying /usr/lib to
/usr/lib-2.4 (and likewise for /usr/include) before the upgrade,
so these would not be lost/overwritten. Then when doing builds
under 2.5 for 2.4, I could tell the compiler to look in the 2.4
versions with -L and -I, but for running under 2.4, use
-R /usr/lib (which should also work for running the binaries on
2.5, in so far as 2.4 binaries run on 2.5).

Does this sound reasonable? Is there anything else I need to do?
Can I tell the linker not to use /usr/lib at all (I have the
impression it would do so if it couldn't find a library in other
locations specified by -L).
Also, the same question for the preprocessor and /usr/include ?

Would this scheme also work for an upgrade 2.3 to 2.5 (sparc)?

Thanks in advance.
--


2. Kernel loading and booting problem

3. PPP on Solaris 2.4 for Sparc, Matrox PCI Millenium Card under Solaris 2.5 x86

4. Invalid objdump arguments

5. Auto-redial in Solaris 2.4/2.5 PPP?

6. mysql3.21.33/php3.0.5/apache1.3.4

7. Solaris 2.4->2.5 ppp and compiler questions

8. HELP about QSORT !!! & readir got a BUG ????

9. Announce: Kernel Build for 2.5, Release 2.4 is available

10. ipv4 /proc/net/route bug in 2.4 and 2.5 kernels

11. Help with 2.4 or 2.5 kernel on Compaq Alpha

12. Are Linux 2.4.x and 2.5.x kernels "fully" pre-emptive?

13. What kernels 2.4.x 2.5.x compile gcc3.2???