pppd-2.3.5 won't compile with glibc-2.7.3

pppd-2.3.5 won't compile with glibc-2.7.3

Post by Alex Li » Thu, 18 Jun 1998 04:00:00



I have just upgraded my complete glibc package as suggested on the
errata page from Redhat to glibc-2-7.3. These include the developers and
debug libraries as well.

However, after this upgrade, pppd-2.3.5 will not compile smoothly
anymore. I have checked the source of the errors and it seems that the
compiler is not able to resolve '__u32' and '__u8' symbols.

Has anyone else met with this problem and solved it already. Please
share your experience before I make a fool of myself and report it as a
bug :(

Cheers
--
+-------------------------------------------------+
|Alex C. O. Lim                                   |
|Future Trend Computer Services                   |
+-------------------------------------------------+
|http://ftrend.hypermart.net                      |
|http://www.geocities.com/SiliconValley/Lakes/5112|
+-------------------------------------------------+

 
 
 

pppd-2.3.5 won't compile with glibc-2.7.3

Post by Alex Li » Fri, 19 Jun 1998 04:00:00



> I have just upgraded my complete glibc package as suggested on the
> errata page from Redhat to glibc-2-7.3. These include the developers and
> debug libraries as well.

Ooopppsss.... a mistake in version of glibc - it's actually 2.0.7-13.rpm
files. As I said, pppd-2.3.5 will not compile and will complain of
unresolved data types, especially __u32 and __u8. (Actually it says
'parse error').

Can anyone shed a light on this? Waiting with bated breath :)

Thanks in advance.
--
+-------------------------------------------------+
|Alex C. O. Lim                                   |
|Future Trend Computer Services                   |
+-------------------------------------------------+
|http://ftrend.hypermart.net                      |
|http://www.geocities.com/SiliconValley/Lakes/5112|
+-------------------------------------------------+

 
 
 

pppd-2.3.5 won't compile with glibc-2.7.3

Post by Brian Chamberlai » Sat, 20 Jun 1998 04:00:00




> > I have just upgraded my complete glibc package as suggested on the
> > errata page from Redhat to glibc-2-7.3. These include the developers and
> > debug libraries as well.

> Ooopppsss.... a mistake in version of glibc - it's actually 2.0.7-13.rpm
> files. As I said, pppd-2.3.5 will not compile and will complain of
> unresolved data types, especially __u32 and __u8. (Actually it says
> 'parse error').

> Can anyone shed a light on this? Waiting with bated breath :)

> Thanks in advance.

In the directory ppp-2.3.5/pppd/ edit the file sys-linux.c and in
thedirectory ppp-2.3.5/pppstats/ edit the file pppstats.c and change
#include <linux/types.h>   to   #include <asm/types.h>
 
 
 

1. problems compiling glibc-2.1.2 on Slackware 3.5 with glibc-2.0.7

Hi!  I'm trying to upgrade the glibc-2.0.7 that came with my Slackware
3.5 distribution to glibc-2.1.2 and during the build process I get this
linker error:

make  -C db2 others make[2]: Entering directory
`/home/tommy/build/glibc-2.1.2/db2' gcc -nostdlib -nostartfiles -o
/home/tommy/build/glibc-2.1.2/objdir/db2/makedb
-Wl,-dynamic-linker=//lib/ld-linux.so.2
/home/tommy/build/glibc-2.1.2/objdir/csu/crt1.o
/home/tommy/build/glibc-2.1.2/objdir/csu/crti.o `gcc
--print-file-name=crtbegin.o`
/home/tommy/build/glibc-2.1.2/objdir/db2/makedb.o
/home/tommy/build/glibc-2.1.2/objdir/db2/libdb.so.3
-Wl,-rpath-link=/home/tommy/build/glibc-2.1.2/objdir:/home/tommy/build/glibc-
2.1.2/objdir/math:/home/tommy/build/glibc-2.1.2/objdir/elf:/home/tommy/build/
glibc-2.1.2/objdir/nss:/home/tommy/build/glibc-2.1.2/objdir/nis:/home/tommy/b
uild/glibc-2.1.2/objdir/db2:/home/tommy/build/glibc-2.1.2/objdir/rt:/home/tom
my/build/glibc-2.1.2/objdir/resolv:/home/tommy/build/glibc-2.1.2/objdir/linux
threads /home/tommy/build/glibc-2.1.2/objdir/libc.so.6
/home/tommy/build/glibc-2.1.2/objdir/libc_nonshared.a -lgcc `gcc
--print-file-name=crtend.o` /home/tommy/build/glibc-2.1.2/objdir/csu/crtn.o
/home/tommy/build/glibc-2.1.2/objdir/libc.so.6: undefined reference to
`__NR_rt_sigreturn' collect2: ld returned 1 exit status make[2]: ***
[/home/tommy/build/glibc-2.1.2/objdir/db2/makedb] Error 1 make[2]: Leaving
directory `/home/tommy/build/glibc-2.1.2/db2' make[1]: *** [db2/others] Error
2 make[1]: Leaving directory `/home/tommy/build/glibc-2.1.2' make: *** [all]
Error 2 bash$ ls -l /lib/libc.so.6 lrwxrwxrwx  1 root  root  13 Sep  2 05:42
/lib/libc.so.6 -> libc-2.0.7.so bash$

Any ideas on how I can resolve this problem?  I building on a Slackware
3.5 Linux box with a 2.0.38 custom kernel and gcc-2.95.1 and
binutls-990902 from the egcs team.

Thanks in advance for your time!

Peace.....

Tom Williams

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

2. How to set up quotas.

3. problems with pppd-2.2.0c param in pppd-2.3.5

4. SDS Mirroring on 280Rs

5. glibc-2.0.5 & Slackware 3.5 Installation Problem

6. 5.0.4 DNS Problems

7. pppd-2.3.5: strange behaviour

8. NIS and NFS auto.home

9. demand dial (pppd-2.3.5) connection opens even when accessing local lan machines

10. PPP-Probs with pppd-2.3.5

11. Redhat 5.1 pppd-2.3.5 demand problem

12. linux-2.1.101 and pppd-2.3.5 IPX problem

13. pppd-2.3.5 demand dialling opens connection when accessing local LAN