In _C_, determining if an interface is up or not.

2000-08-24 Thread Mike A. Harris
I am trying to write a small network application in C, however it needs to determine wether or not a given network interface is up and running or not. Since it is in _C_, I want to talk _directly_ to the kernel. How exactly does one poll the kernel in C for interface information? I do _not_ wan

Re: chmod problem..

2000-08-24 Thread John Summerfield
> How do I recursively SGID a directory tree, but only hitting the > dirs, not the files? > > In other words, I want: > > chmod -R g+s dir/ > > But no files SGID, just the subdirectories? > > Can I use the "X" permission somehow? I never understood it.. > > Or should I do something like: >

Unresolved symbols on kernel rebuild

2000-08-24 Thread Salvador Ramirez
Hi, I tried to compile the kernel on a Intel PII using Red Hat 6.2. I did a make xconfig make dep make zImage make modules make modules_install cp zImage /boot (respective modification to /etc/lilo.conf) /sbin/lilo but when the system try to load some modules (like the sound and the network mo

Re: Minor(?) errors running ppp

2000-08-24 Thread Tony Nugent
On Thu Aug 24 2000 at 15:21, Carl Kigundu wrote: > Hello there, > > Can anyone help me determine the protocol my ISP is trying > to send me? > > After connecting all goes well however. > > > > Aug 24 08:16:31 hfcu chat[739]: CONNECT > Aug 24 08:16:31 hfcu chat[739]: -- got it > Aug 24 0

Re: groupadd -o???????????????

2000-08-24 Thread Mike A. Harris
On Thu, 24 Aug 2000, Peter Blomgren wrote: >Maybe I'm too used to reading cryptic man pages, but this one >seems pretty clear to me... Well it wasn't to me until someone pointed it out. Thanks to all that pointed this out to me. >> The groupadd command lists a "-o" option. >> >> SYNOPSIS >>

Re: rawhide: anaconda-7.0-1.200008101755 fails to compile

2000-08-24 Thread Thomas Dodd
Svante Signell wrote: > PS: I this the list to use for these reports, since rawhide/pinstripe > are development distributions, or should something like bug-buddy be used? Since no one else said it yet: Use Bugzilla, http://bugzilla.redhat.com/bugzilla/ to officialy report bugs. -Thomas

Re:

2000-08-24 Thread Michal Kurowski
God, please *STOP* this issue!!! It's really not worth these 80 posts I see in my mailbox. I'll never believe typing 'C-h i' is difficult to anyone who uses emacs ( or needs, say, full gcc functionality ). I can see there's 5.4M of info and 21M of man pages on my HDD. And I'm bilingual. When I w

Re: rawhide: kudzu-0.68-1 fails to compile

2000-08-24 Thread Bill Nottingham
Svante Signell ([EMAIL PROTECTED]) said: > Compile fails for root, non-root and i386, i686: > ... > cc -c -O2 -march=i686 -Wall -D_GNU_SOURCE -DVERSION=\"0.68\" >-I/usr/include/python1.5 -o ide.o ide.c > ide.c: In function `ideProbe': > ide.c:214: structure has no member named `command_set_1'

Re: rawhide: compat-glibc-6.2-2.1.3.2.src.rpm fails to compile

2000-08-24 Thread Matt Wilson
compat packages have to be built in the environment that they prodive compatibility for. In this case, compat-glibc-6.2 has to be built on a 6.2 system. As for the other stuff, you have some strange mix of a pinstripe and a rawhide, it seems. Pick one or the other, install Everything. All pack

Minor(?) errors running ppp

2000-08-24 Thread Carl Kigundu
Hello there, Can anyone help me determine the protocol my ISP is trying to send me? After connecting all goes well however. Aug 24 08:16:31 hfcu chat[739]: CONNECT Aug 24 08:16:31 hfcu chat[739]: -- got it Aug 24 08:16:31 hfcu chat[739]: send (^M) Aug 24 08:16:31 hfcu pppd[726]: Serial c

VGA card configuration problem...

2000-08-24 Thread Bharat Bhushan
Hi, I am not able to configure my vga card in Red Hat Linux 6.2. It is SiS 630 which is present in the database of linux which i configure with the help of xf86config utility, but after configuring it, my STARTX doesn't work properly.. I am getting problem as i had upgraged my system from P1 to

Re: rawhide: Xconfigurator-4.3.45-1 fails to compile

2000-08-24 Thread Svante Signell
Matt, thank you very much. I had kudzu-0.68-1 and kudzu-devel-0.52-3 installed. Upgrading kudzu-devel to 0.68-1 solved the problem. Still kudzu-0.68-1 does not compile on my machine, see separate mail. Matt Wilson writes: > I think your kudzu and kudzu-devel packages are out of date. > > On

Re: how to upgrade from rpm-3 to rpm-4 ??

2000-08-24 Thread Franz Sirl
At 01:45 24.08.00, John Summerfield wrote: > > > As I recall, not all are happy with 3.0.5. I found it wouldn't build > an rpm > > on > > > my newly-installed RHL 6.2 (couldn't find the files) so reverted to > 3.0.4 > > > which built the same rpm without any problem. > > > > Did you test this w

rawhide: freeciv-1.11.4-3 fails to compile

2000-08-24 Thread Svante Signell
rpm --rebuild --target=i686 freeciv-1.11.4-3.src.rpm: (the last version building was 1.10.1-1) ... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../common -I../../intl -I/usr/X11R6/include -DNDEBUG -O2 -march=i686 -Wall -c pixcomm.c In file included from pixcomm.c:54: pixc

rawhide: e2fsprogs-1.18-12 fails to compile

2000-08-24 Thread Svante Signell
rpm --rebuild --target=i386 e2fsprogs-1.18-(11,12).src.rpm: (this package has not compiled since version 1.18-5!!) ... cc -DHAVE_LINUX_FS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MNTENT_H=1 -DHAVE_PATHS_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GET

rawhide: i686/non-root compat-egcs-6.2-1.1.2.9 fails to compile

2000-08-24 Thread Svante Signell
Building compat-egcs-6.2-1.1.2.9.src.rpm results in: 1. i386 root: OK 2. i386 non-root: Seems like some files are not built, build ends with: (have not traced into it yet) PreReq: /sbin/ldconfig rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux.so.2 libc.so.6 libm.so.6 libstdc++-libc6.1

rawhide: compat-libs-6.2-2 fails to build

2000-08-24 Thread Svante Signell
time rpm --rebuild --target=i386 compat-libs-6.2-2.src.rpm: ... + ln -s libXaw.so.6.1 libXaw.so + ln -s libXaw.so.7.0 libXaw.so ln: libXaw.so: File exists Bad exit status from /var/tmp/rpm-tmp.21383 (%build) Script exits if multiple library entries?? Why not link to the latest version, ln -s -> l

rawhide: compat-glibc-6.2-2.1.3.2.src.rpm fails to compile

2000-08-24 Thread Svante Signell
rpm --rebuild --target=i386 compat-glibc-6.2-2.1.3.2.src.rpm: ... make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.1.3' make[1]: Entering directory `/usr/src/redhat/BUILD/glibc-2.1.3' cat Versions.def glibc-compat/Versions.def > /usr/src/redhat/BUILD/glibc-2.1.3/build-i386-linux/Versions

Re: groupadd -o???????????????

2000-08-24 Thread Julie
From: Mike A. Harris <[EMAIL PROTECTED]> > Three mentions of "-o" being used, so the manpage author > obviously knows a great deal about this "-o" option. It appears > that he wanted to keep this secret information to himself though > as there is no actual explanation as to what -o does. "-o" is

Re: rawhide: Xconfigurator-4.3.45-1 fails to compile

2000-08-24 Thread Matt Wilson
I think your kudzu and kudzu-devel packages are out of date. On Thu, Aug 24, 2000 at 09:17:00AM +0200, Svante Signell wrote: > Compile fails for root, non-root and i386, i686: > ... > cc -Wall -I/usr/include/kudzu -D_GNU_SOURCE -DVERSION=\"4.3.45\" >-DCARD_DATABASE_FILE='"/usr/X11R6/lib/X11/Card

rawhide: anaconda-7.0-1.200008101755 fails to compile

2000-08-24 Thread Svante Signell
rpm --rebuild --target=i686 anaconda-7.0-1.28101755.src.rpm: ... cc -Wall -g -O -D_GNU_SOURCE=1 -fPIC -I../isys -DENABLE_NLS -I/usr/include/python1.5 -I../edd `gnome-config --cflags gnomeui` `glib-config --cflags gthread` -c -o partspec.o partspec.c partspec.c: In function `fdiskCleanOrig

rawhide: Xconfigurator-4.3.45-1 fails to compile

2000-08-24 Thread Svante Signell
Compile fails for root, non-root and i386, i686: ... cc -Wall -I/usr/include/kudzu -D_GNU_SOURCE -DVERSION=\"4.3.45\" -DCARD_DATABASE_FILE='"/usr/X11R6/lib/X11/Cards"' -DMONITOR_DATABASE_FILE='"/usr/X11R6/share/Xconfigurator/MonitorsDB"' -O2 -march=i686 -c -o Xconfigurator.o Xconfigurator.c X

rawhide: kudzu-0.68-1 fails to compile

2000-08-24 Thread Svante Signell
Compile fails for root, non-root and i386, i686: ... cc -c -O2 -march=i686 -Wall -D_GNU_SOURCE -DVERSION=\"0.68\" -I/usr/include/python1.5 -o ide.o ide.c ide.c: In function `ideProbe': ide.c:214: structure has no member named `command_set_1' make: *** [ide.o] Error 1 Bad exit status from /var/tm

rawhide: i386 kernel-2.2.16-21 fails to compile

2000-08-24 Thread Svante Signell
After 68 min the compile of the i386 version fails: (i686 builds OK) ... kgcc -MD -O -Wall -Wstrict-prototypes -pipe -I../include -I/usr/src/redhat/BUILD/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c cardinfo.c kgcc cardinfo.o -o cardinfo -L/usr/X