[etherlab-users] ./configure not succeeding
Malcolm
malcolm_lewis at bellsouth.net
Wed Jul 13 23:55:19 CEST 2011
On Wed, 13 Jul 2011 16:19:35 -0500
"Jeff Krasky" <jeff.krasky at dspcg.com> wrote:
> Thanks James, but I still got the same error when trying to do the
> 'make all modules' command.
>
> I'm lost here. 'make' worked fine for me but now I have no idea if
> it's safe to proceed, since 'make all modules' doesn't work.
>
> I'd like to get this going and run some stuff and be an active member
> of the community, but I'm having troubles at every step of the way....
>
> -----Original Message-----
> From: james.rowland at diamond.ac.uk
> [mailto:james.rowland at diamond.ac.uk] Sent: Wednesday, July 13, 2011
> 3:11 PM To: jeff.krasky at dspcg.com; etherlab-users at etherlab.org
> Subject: RE: [etherlab-users] ./configure not succeeding
>
> Hi Jeff
>
> I had to patch the ethercat master for my unmodified RHEL5 kernel
> 2.6.18 to fix the location of semaphore.h and some others, this may
> help although you will need to change the version string to match
> your kernel. Could something like this be merged by the developers
> for users of older kernels? I mostly use 2.6.33.9-rt31 but old kernel
> support is useful for programming serial numbers on stock desktops.
>
> James
>
> > -----Original Message-----
> > From: etherlab-users-bounces at etherlab.org [mailto:etherlab-users-
> > bounces at etherlab.org] On Behalf Of Jeff Krasky
> > Sent: 13 July 2011 20:26
> > To: etherlab-users at etherlab.org
> > Subject: Re: [etherlab-users] ./configure not succeeding
> >
> > > cat /etc/SuSE-release
> >
> > SUSE LINUX 10.1 (i586)
> > VERSIOJN = 10.1
> >
> > > Yes, open YaST -> software management then search for kernel,
> > > select the above items. I think it should tell you which CD to
> > > install.
> >
> > kernel-source and kernel-syms were already checked and linux-kernel-
> > headers
> > didn't appear in the list. So I guess to stay on track,
> >
> > 1. Did my ./configure command finish properly? (config.status:
> > executing
> > depfiles commands)
> >
> > 2. How to get past this make error: In file included from
> > /root/Desktop/etherlabmaster-4adb56c4198d/master/master.h:48,
> > from
> > /root/Desktop/etherlabmaster-4adb56c4198d/master/cdev.c:42:
> > /root/Desktop/etherlabmaster-4adb56c4198d/master/ethernet.h:42:29:
> > error:
> > linux/semaphore.h: No such file or directory
> >
> >
> > Thanks again,
> >
> >
> >
> > Jeff
> >
> > _______________________________________________
> > etherlab-users mailing list
> > etherlab-users at etherlab.org
> > http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
>
>
Hi
For me the patch helped (needed to tweak a little) and get this far now;
CC
[M] /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/datagram.o
CC
[M] /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/device.o
CC
[M] /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/domain.o
CC
[M] /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/fmmu_config.o
In file included
from /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/slave_config.h:43,
from /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/fmmu_config.c:37: /usr/src/packages/BUILD/ethercat-1.5/obj/default/master/slave.h:226:
error: expected specifier-qualifier-list before 'wait_queue_head_t'
--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.5-desktop
up 3 days 15:56, 5 users, load average: 0.13, 0.10, 0.12
GPU GeForce 8600 GTS Silent - Driver Version: 270.41.19
More information about the Etherlab-users
mailing list