Re: mISDN build failure on 2.6.18-371.6.1.el5 (CentOS 5.10)

Tamer Higazi <th982a-gM/[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
Hi Patrick!

Which compiler are you running ?!

I successfully compiled everything with the recent debian:

gcc version 4.8.2 (Debian 4.8.2-16)

compiler.


Look that the gcc compiler might not be too old.

Because I don't get these errors.


What about of using the latest CentOS version where you have the latest
glib/glibc and kernel sources build and headers available ?!

2.6.8 doesn't sound for me very recent. What do you think ?


Tamer




Am 17.03.2014 19:51, schrieb Patrick Laimbock:
> Hi,
> 
> mISDN git rev 75e4a7f from today does not build on CentOS 5.10 kernel
> 2.6.18-371.6.1.el5. Might this be due to Red Hat backporting stuff which
> the patch setup is not aware about? Anyone have a suggestion how I fix
> this?
> 
> FYI: https://www.isdn4linux.de/mantis as once mentioned by Karsten as
> the proper place to report this gives an error.
> 
> ....
> include/linux/kernel.h:311:1: warning: this is the location of the
> previous definition
> /builddir/build/BUILD/mISDN-75e4a7f/standalone/include/linux/mISDNif_s.h:612:
> error: redeclaration of enumerator 'DUMP_PREFIX_NONE'
> include/linux/kernel.h:275: error: previous definition of
> 'DUMP_PREFIX_NONE' was here
> /builddir/build/BUILD/mISDN-75e4a7f/standalone/include/linux/mISDNif_s.h:613:
> error: redeclaration of enumerator 'DUMP_PREFIX_ADDRESS'
> include/linux/kernel.h:276: error: previous definition of
> 'DUMP_PREFIX_ADDRESS' was here
> /builddir/build/BUILD/mISDN-75e4a7f/standalone/include/linux/mISDNif_s.h:615:
> error: redeclaration of enumerator 'DUMP_PREFIX_OFFSET'
> include/linux/kernel.h:278: error: previous definition of
> 'DUMP_PREFIX_OFFSET' was here
> /builddir/build/BUILD/mISDN-75e4a7f/standalone/include/linux/mISDNif_s.h:621:
> error: conflicting types for 'print_hex_dump'
> include/linux/kernel.h:284: error: previous declaration of
> 'print_hex_dump' was here
> /builddir/build/BUILD/mISDN-75e4a7f/standalone/include/linux/mISDNif_s.h:623:
> error: conflicting types for 'print_hex_dump_bytes'
> include/linux/kernel.h:286: error: previous declaration of
> 'print_hex_dump_bytes' was here
> make[4]: ***
> [/builddir/build/BUILD/mISDN-75e4a7f/standalone/drivers/isdn/mISDN/l1oip_core.o]
> Error 1
> make[3]: Leaving directory `/usr/src/kernels/2.6.18-371.6.1.el5-i686'
> make[3]: ***
> [_module_/builddir/build/BUILD/mISDN-75e4a7f/standalone/drivers/isdn/mISDN]
> Error 2
> make[2]: Leaving directory `/builddir/build/BUILD/mISDN-75e4a7f/standalone'
> make[2]: *** [modules_] Error 2
> make[1]: Leaving directory `/builddir/build/BUILD/mISDN-75e4a7f/standalone'
> make[1]: *** [modules] Error 2
> make: *** [modules] Error 2
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.