Re: make problem bluez-utils 3.28
"John E. Conlon" <[email protected]>
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Organization | Verticon, Inc. |
| Message-ID | <[email protected]> |
Hi Guillaume, I filed a Centos bug regarding this issue. It is: http://bugs.centos.org/view.php?id=2747 Did I accurately describe the problem in the bug report? thanks for all your help, John Guillaume Bedot wrote: > Le jeudi 13 mars 2008 à 12:50 -0500, John E. Conlon a écrit : > >> Guillaume Bedot wrote: >> >>> On mer, 2008-03-12 at 12:34 -0500, John E. Conlon wrote: >>> >>> >>>> Hi Guillaume, >>>> >>>> Yes, I noticed the undeclared identifiers and did a google to see what I >>>> could find and like you found it was declared in the sockios.h file. >>>> I found a copy on the internet at >>>> http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/include/linux/sockios.h#L120 >>>> and did notice the referenced identifiers at lines 120-123. But when I >>>> looked at my /usr/include/linux/sockios.h those lines are missing. >>>> I guess that means I have an older version of these headers. >>>> >>>> This file is supplied by: >>>> $ rpm -qf /usr/include/linux/sockios.h >>>> > You were right, this is the file used for compiling. > > >>>> >>>> >>> Try also : >>> $ rpm -qf sockios.h >>> >>> You're too precise ! >>> >>> >> Not for centos I guess :-) >> # rpm -qf sockios.h >> error: file sockios.h: No such file or directory >> > > rpm -qf only finds the installed package to which an existing file > belongs... > My tries were done with our rpm wrapper "urpmf". > You may have the same features included in "yum", maybe it would work > with : > yum search sockios.h > > >> kernel-smp-devel.i686 2.6.9-67.0.4.EL installed >> Available Packages >> kernel-smp-devel.i586 2.6.9-67.0.4.EL update >> >> Pardon my ignorance but what is the difference between the two? I did >> not think I should install both?? >> >> > One of the packages is enough ( and you need only a few files from > this ). > > I should be the one corresponding to your kernel (with the same config). > If "uname -m" shows i686, then the right package is installed. > Or check which kernel package(s) is (are) installed : > yum list installed | grep kernel > > >> here is what the .i686 contains >> # rpm -ql kernel-smp-devel | grep sockios.h >> /usr/src/kernels/2.6.9-67.0.4.EL-smp-i686/include/asm-i386/sockios.h >> /usr/src/kernels/2.6.9-67.0.4.EL-smp-i686/include/linux/sockios.h >> >> So an updated sockios.h is on the system at, >> (/usr/src/kernels/2.6.9-67.0.4.EL-smp-i686/include/linux/sockios.h) >> and it contains the needed identifiers. Is it possible to compile the >> bluez-utils >> against it instead of the one in my /usr/include/linux/sockios.h ?? >> > The file is also there. > > You can check the differences between the files with : > diff /usr/src/kernels/2.6.9-67.0.4.EL-smp-i686/include/linux/sockios.h /usr/include/linux/sockios.h > > If there are not too many differences, you can try : > mv /usr/include/linux/sockios.h /usr/include/linux/sockios.h.orig > cp /usr/src/kernels/2.6.9-67.0.4.EL-smp-i686/include/linux/sockios.h /usr/include/linux/sockios.h > Then see if it compiles, and works (I admit that's not an easy to > maintain solution in the long term). > > I'm not sure why your files in /usr/include and /usr/src differ. > Mine are identical > ( /usr/include/linux/sockios.h > and /usr/src/linux-2.6.22.18-desktop-1mdv/include/linux/sockios.h ). > > I'd say it's a bug in the glibc-kernheaders package, maybe you should > report the maintainer. > There is a bug managing system at http://bugs.centos.org/main_page.php > Or, you can see who packaged the last with "rpm -qi glibc-kernheaders", > with an email. > > Our kernel-*-devel packages also includes ( on purpose, to keep the > packages small ) a limited set of linux headers, for compilation needs > ( external modules, etc ). > > The network support in bluez is recent, so it may be why these parts of > the headers miss (not needed before). > > Hope that helps a bit. > > Regards, > > Guillaume B. > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users