Skip to contentSkip to conversation

udev does not compile anymore on debian woody

DISCUSSION Frederik Reiss 1 participant 2 messages Mar 5, 2004 – Mar 7, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I tried udev-019 on my Debian woody system, and it compiled (and worked) fine. Today i tried to compile udev-021 but it failed with the following error:

<drd@mod>:~/test/udev-021$ make
gcc  -pipe -DLOG -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall  -Wshadow
- -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
- -I/usr/lib/gcc-lib/i386-linux/2.95.4/include
- -I/home/drd/test/udev-021/libsysfs   -c -o udev-add.o udev-add.c
udev-add.c: In function `create_node':
udev-add.c:232: parse error before `struct'
udev-add.c:233: `pw' undeclared (first use in this function)
udev-add.c:233: (Each undeclared identifier is reported only once
udev-add.c:233: for each function it appears in.)
make: *** [udev-add.o] Fehler 1

Debian woody uses gcc-2.95 as default compiler:

<drd@mod>:~/test/udev-021$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

- --
Lieber vorgebeugt, als auf die Schuhe gekotzt. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFASNF1cLHece3p3gARAvAfAKC5Kh98h099VjCFgqNvS8sMZk05gwCcDElU 3avbM9hk52NdYLG4gwa1/pw=ynXh
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I tried udev-019 on my Debian woody system, and it compiled (and worked) fine. Today i tried to compile udev-021 but it failed with the following error:

<drd@mod>:~/test/udev-021$ make
gcc  -pipe -DLOG -Os -fomit-frame-pointer -D_GNU_SOURCE -Wall  -Wshadow
- -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
- -I/usr/lib/gcc-lib/i386-linux/2.95.4/include
- -I/home/drd/test/udev-021/libsysfs   -c -o udev-add.o udev-add.c
udev-add.c: In function `create_node':
udev-add.c:232: parse error before `struct'
udev-add.c:233: `pw' undeclared (first use in this function)
udev-add.c:233: (Each undeclared identifier is reported only once
udev-add.c:233: for each function it appears in.)
make: *** [udev-add.o] Fehler 1

Debian woody uses gcc-2.95 as default compiler:

<drd@mod>:~/test/udev-021$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

- --
My doctorate's in Literature, but it seems like a pretty good pulse to me. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFASuuucLHece3p3gARAtDCAKCdrtOJLoqhSSTcA4m7ePW8+2r6KgCgkZLY W2/zho8hV+BHzuYXUV7YU6Q=yGjl
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel