[pptp-server] PPP modules and RH Kernel 2.2.14-12

George Vieira georgev at citadelcomputer.com.au
Wed Dec 6 15:15:50 CST 2000


Make your life a hell of alot easier... use the "tr" command


tr -d "\r" < filenamewithcrlf > filenamenewwithoutcr


-----Original Message-----
From: Philip Van Baren [mailto:phil at vibrationresearch.com]
Sent: Thursday, December 07, 2000 6:54 AM
To: pptp-server at lists.schulte.org
Subject: RE: [pptp-server] PPP modules and RH Kernel 2.2.14-12


I think this happens if you use patch files with DOS <CR><LF> pair
terminating the lines.

To fix this, you can either use emacs to edit the messed up files (this
usually hits header files in the #define lines with line-continuation
escapes), and remove any ^M characters from the file.  Or, convert the patch
file to unix format (using dos2unix), and re-apply the patches.

> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of Gregory G.
> Woodbury
> Sent: Wednesday, December 06, 2000 2:17 PM
> To: pptp-server at lists.schulte.org
> Subject: [pptp-server] PPP modules and RH Kernel 2.2.14-12
>
>
> Trying to build kernel modules for ppp for pptp with mppe. I get
> an error when
> compiling the "make modules" portion of the kernel build. Specificially:
>
> >make[2]: Entering directory `/usr/src/linux-2.2.14/drivers/net'
> >gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing
> -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE
> -DMODVERSIONS -include
> /usr/src/linux-2.2.14/include/linux/modversions.h
> -DEXPORT_SYMTAB -c ppp.c
> >ppp.c:188: warning: static declaration for
> `ppp_register_compressor_Rsmp9682e733' follows non-static
> >ppp.c:189: warning: static declaration for
> `ppp_unregister_compressor_Rsmpa1b928df' follows non-static
> >ppp.c: In function `rcv_proto_unknown':
> >ppp.c:2563: too few arguments to function `kill_fasync_Reb615c27'
> >make[2]: *** [ppp.o] Error 1
> >make[2]: Leaving directory `/usr/src/linux-2.2.14/drivers/net'
> >make[1]: *** [_modsubdir_net] Error 2
> >make[1]: Leaving directory `/usr/src/linux-2.2.14/drivers'
> >make: *** [_mod_drivers] Error 2
>
> Has anyone seen this before, has it been solved, should I try a
> different kernel
> version?
> Thanks.
>
> --
> Gregory Woodbury
> SysAdmin group  OAO NIEHS ITSSC
> work phone:919 361 5444 x404
> woodbury at niehs.nih.gov
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!
>

_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!



More information about the pptp-server mailing list