gnome-network-0.99.7



  Well I took the plunge the other day and upgraded from glibc-2.0.7pre6
to the new glibc-2.1.
  Things have been going well and I was just recompiling GNOME with all
the latest releases. I had no problems compiling anything except
gnome-network-0.99.7. In both 'gnome-ppp/gnome-ppp-chat/gnome-ppp-chat.c'
and 'gnome-ppp/gnome_lib/pppd.c' I had to add another include:

...
 #include <sys/socket.h>
 #include <sys/un.h>
+#include <sys/uio.h>

 #include "config.h"

 #if HAVE_SOCKETBITS_H
 #include <socketbits.h>
 #include <iovec.h>
 #endif
...

  Otherwise I got the following errors:

gnome-ppp-chat.c: In function `send_fd':
gnome-ppp-chat.c:110: storage size of `iov' isn't known
make[3]: *** [gnome-ppp-chat.o] Error 1

pppd.c: In function `recieve_fd':
pppd.c:826: storage size of `iov' isn't known
make[3]: *** [pppd.o] Error 1

  The new 2.1 no longer has either 'socketbits.h' or 'iovec.h', rgrep'ing
through stuff I found the 'iovec' structure defined in 'sys/uio.h'.  
  
--
You may be recognized soon.  Hide.

Mike Hall <mhall@riverside.org>, (MH993)   -    http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]