[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Problem compiling dlm module.



It was my bad. Thanks for pointing my mistake. I got thought both were
same since opendlm links to redhat cluster's page.

regards,
-Ananth
On Mon, 23 Aug 2004, Brian Jackson wrote:

> opendlm and the dlm that is used with gfs/linux-cluster are 2
> different things. You shouldn't use the docs from one to build the
> other. The usage.txt file linked off of
> http://sources.redhat.com/cluster will get you up and running with the
> proper dlm.
>
> --Brian Jackson
>
> On Mon, 23 Aug 2004 14:47:12 -0400 (EDT), Ananth Devulapalli
> <ananth osc edu> wrote:
> > Hello:
> >
> >         I am following instructions for compilation of dlm module
> > described at  http://opendlm.sourceforge.net/doc.php and i am through with
> > installation of libnet and heartbeat modules. but opendlm breaks.
> >
> >         my m/c is currently running 2.6.8-1.521smp on a dual xeon
> >
> >         opendlm was configured using
> > --with-heartbeat_include=/usr/include/heartbeat
> >
> >         I am pasting output of make at the end of this mail. All the
> > errors seem to be in files included in cccp_deliver.c. It appears to me
> > like I am missing some files and have configured the tree incorrectly. For
> > e.g. I dont have include/linux/modversions.h. Another error is
> > MOD_INC_USE_COUNT is defined in /usr/include/linux/module.h but not in
> > /lib/modules/2.6.8-1.521smp/build. configure is assigning linux_src
> > variable to /lib/modules/2.6.8-1.521smp/build instead of
> > /usr/include/linux/ hence its not able to locate that symbol. Is it a
> > known problem? any pointers will be of great help.
> >
> > thanks,
> > -Ananth
> >
> > <make output>
> >
> > if gcc -DHAVE_CONFIG_H -I. -I. -I../../..  -D__KERNEL__ -DMODULE
> > -DMODVERSIONS -I/lib/modules/2.6.8-1.521smp/build/include
> > -I../../../src/include -include
> > /lib/modules/2.6.8-1.521smp/build/include/linux/modversions.h
> > -I../../../src/api -DOLD_MARSHAL
> > -I/lib/modules/2.6.8-1.521smp/build/include -I/usr/include/glib-1.2
> > -I/usr/lib/glib/include -pipe -O2 -Wall -g -O2 -MT cccp_deliver.o -MD -MP
> > -MF ".deps/cccp_deliver.Tpo" -c -o cccp_deliver.o cccp_deliver.c; \
> > then mv -f ".deps/cccp_deliver.Tpo" ".deps/cccp_deliver.Po"; else rm -f
> > ".deps/cccp_deliver.Tpo"; exit 1; fi
> > <command line>:167113902:62704:
> > /lib/modules/2.6.8-1.521smp/build/include/linux/modversions.h: No such
> > file or directory
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/asm/processor.h:18,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/asm/thread_info.h:16,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/thread_info.h:21,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/spinlock.h:12,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/capability.h:45,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:7,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/system.h: In function
> > `__set_64bit_var':
> > /lib/modules/2.6.8-1.521smp/build/include/asm/system.h:193: warning:
> > dereferencing type-punned pointer will break strict-aliasing rules
> > /lib/modules/2.6.8-1.521smp/build/include/asm/system.h:193: warning:
> > dereferencing type-punned pointer will break strict-aliasing rules
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h:18,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/smp.h:17,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:23,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:6:25:
> > mach_mpspec.h: No such file or directory
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h:18,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/smp.h:17,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:23,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h: At top level:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:8: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:9: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:10: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:12: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:20: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:20: error:
> > conflicting types for `mp_bus_id_to_type'
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:8: error: previous
> > declaration of `mp_bus_id_to_type'
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:22: error:
> > `MAX_IRQ_SOURCES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:24: error:
> > `MAX_MP_BUSSES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:24: error:
> > conflicting types for `mp_bus_id_to_pci_bus'
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:12: error: previous
> > declaration of `mp_bus_id_to_pci_bus'
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h:20,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/smp.h:17,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:23,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/io_apic.h:160: error:
> > `MAX_IRQ_SOURCES' undeclared here (not in a function)
> > /lib/modules/2.6.8-1.521smp/build/include/asm/io_apic.h:160: error:
> > conflicting types for `mp_irqs'
> > /lib/modules/2.6.8-1.521smp/build/include/asm/mpspec.h:22: error: previous
> > declaration of `mp_irqs'
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/smp.h:17,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:23,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h:71:26: mach_apicdef.h:
> > No such file or directory
> > In file included from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/smp.h:17,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/sched.h:23,
> >                  from
> > /lib/modules/2.6.8-1.521smp/build/include/linux/module.h:10,
> >                  from cccp_deliver.c:47:
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h: In function
> > `hard_smp_processor_id':
> > /lib/modules/2.6.8-1.521smp/build/include/asm/smp.h:75: warning: implicit
> > declaration of function `GET_APIC_ID'
> > In file included from cccp_private.h:57,
> >                  from cccp_deliver.c:73:
> > .../../../src/include/dlm_kernel.h:227:2: warning: #warning Untested signal
> > handlers for Linux-2.6!!
> > cccp_deliver.c: In function `cccp_msg_delivery_loop':
> > cccp_deliver.c:246: error: `MOD_INC_USE_COUNT' undeclared (first use in
> > this function)
> > cccp_deliver.c:246: error: (Each undeclared identifier is reported only
> > once
> > cccp_deliver.c:246: error: for each function it appears in.)
> > cccp_deliver.c:294: error: `MOD_DEC_USE_COUNT' undeclared (first use in
> > this function)
> > make: *** [cccp_deliver.o] Error 1
> >
> > </make output>
> >
> > --
> > Linux-cluster mailing list
> > Linux-cluster redhat com
> > http://www.redhat.com/mailman/listinfo/linux-cluster
> >
>
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> http://www.redhat.com/mailman/listinfo/linux-cluster
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]