Skip to contentSkip to conversation

udev-012

DISCUSSION Joachim Bauernberger 2 participants 2 messages Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

Hi Greg & @ll,

just installed udev-012 and noticed the following:

in udev.c I needed to declare
int retval;
before making the assignments for main_envp = envp
otherwise it wont compile under 2.95.4 (does the newer gcc allow that?)

Also /etc/init.d/functions is missing. Since the startup script references this and I dunno what it does I can not start it at runtime. Can you please post the contents of functions?

Cheers,
~/joachim

Signature · 16 lines
http://www.bauernberger.org/
mailto:[email protected]
Tel/Fax: +(49)-0-89/1588 3874
HP: +(49)-0-179/674 3611



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 8 lines · Joachim Bauernberger

Hi Greg & @ll,

just installed udev-012 and noticed the following:

in udev.c I needed to declare
int retval;
before making the assignments for main_envp = envp
otherwise it wont compile under 2.95.4 (does the newer gcc allow that?)

Yes, newer gcc allows this, sorry about that. It's fixed in the next release.

Quoted 3 lines

Also /etc/init.d/functions is missing. Since the startup script references this and I dunno what it does I can not start it at runtime. Can you please post the contents of functions?

This is a Red Hat specific config file. There's now a LSB compliant startup script in the tarball that you should use if you don't run Red Hat.

Hope this helps,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel