[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-hotplug
Subject:    udev compile error under
From:       hce <webmail.hce () gmail ! com>
Date:       2007-10-23 5:19:00
Message-ID: 95455e980710222219pe2b4817y79b7fdbd3f51a528 () mail ! gmail ! com
[Download RAW message or body]

Hi,

I sent this message several days ago, but did not see it on the list,
appologize if it is duplicated.

I am using ARM gcc-4.1.1-glibc-2.3.2 to compile udev, first it has
following error:

116/udevd.h:63: error: expected specifier-qualifier-list before 'pid_t'

I then added more header files to the udevd.h (I know it shouldn't
be), but more errors were coming. Can anyone explain how to fix it
under ARM gcc-4.1.1-glibc-2.3.2?

#include <unistd.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>

udev-116/udevd.h:44: error: nested redefinition of 'enum udevd_ctrl_msg_type'
udev-116/udevd.h:44: error: redeclaration of 'enum udevd_ctrl_msg_type'
udev-116/udevd.h:45: error: redeclaration of enumerator 'UDEVD_CTRL_UNKNOWN'
./udev-116/udevd.h:45: error: previous definition of
'UDEVD_CTRL_UNKNOWN' was here
udev-116/udevd.h:46: error: redeclaration of enumerator
'UDEVD_CTRL_STOP_EXEC_QUEUE'
./udev-116/udevd.h:46: error: previous definition of
'UDEVD_CTRL_STOP_EXEC_QUEUE' was here
udev-116/udevd.h:47: error: redeclaration of enumerator
'UDEVD_CTRL_START_EXEC_QUEUE'
./udev-116/udevd.h:47: error: previous definition of
'UDEVD_CTRL_START_EXEC_QUEUE' was here
udev-116/udevd.h:48: error: redeclaration of enumerator
'UDEVD_CTRL_SET_LOG_LEVEL'
./udev-116/udevd.h:48: error: previous definition of
'UDEVD_CTRL_SET_LOG_LEVEL' was here
udev-116/udevd.h:49: error: redeclaration of enumerator
'UDEVD_CTRL_SET_MAX_CHILDS'
udev-116/udevd.h:50: error: redeclaration of enumerator
'UDEVD_CTRL_SET_MAX_CHILDS_RUNNING'
./udev-116/udevd.h:50: error: previous definition of
'UDEVD_CTRL_SET_MAX_CHILDS_RUNNING' was here
udev-116/udevd.h:51: error: redeclaration of enumerator
'UDEVD_CTRL_RELOAD_RULES'
./udev-116/udevd.h:51: error: previous definition of
'UDEVD_CTRL_RELOAD_RULES' was here
udev-116/udevd.h:52: error: redeclaration of enumerator 'UDEVD_CTRL_ENV'
./udev-116/udevd.h:52: error: previous definition of 'UDEVD_CTRL_ENV' was here
udev-116/udevd.h:55: error: redefinition of 'struct udevd_ctrl_msg'
udev-116/udevd.h:61: error: redefinition of 'struct udevd_uevent_msg'


Thank you.

Kind Regards,

Jim

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic