compiling of me-tv-0.8.12 fails on Fedora 11

Bug #377020 reported by Martin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Me TV
Fix Released
Medium
Unassigned

Bug Description

Hi,

compiling of me-tv-0.8.12 fails on Fedora 11, with the following error messages.
Fedora 11 is upcoming with glibc-headers-2.10.1-1.i586 kernel-headers-2.6.29.3-140.fc11.i586
and gcc-4.4.0-4.i586

g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/include/libgnomemm-2.6 -I/usr/lib/libgnomemm-2.6/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/libgnome-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeuimm-2.6 -I/usr/lib/libgnomeuimm-2.6/include -I/usr/include/libgnomecanvasmm-2.6 -I/usr/lib/libgnomecanvasmm-2.6/include -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-vfsmm-2.6 -I/usr/lib/gnome-vfsmm-2.6/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnet-2.0 -I/usr/lib/gnet-2.0/include/ -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wno-unused -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_SRC_DIR=\""."\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -MT channel_manager.o -MD -MP -MF .deps/channel_manager.Tpo -c -o channel_manager.o channel_manager.cc
In file included from /usr/include/stdlib.h:321,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdlib:69,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/algorithm:63,
                 from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:25,
                 from /usr/include/glibmm-2.4/glibmm.h:28,
                 from epg_event.h:25,
                 from epg_events.h:25,
                 from channel.h:32,
                 from channel_manager.h:25,
                 from channel_manager.cc:22:
/usr/include/sys/types.h:62: error: conflicting declaration 'typedef __dev_t dev_t'
/usr/include/linux/types.h:13: error: 'dev_t' has a previous declaration as 'typedef __kernel_dev_t dev_t'
/usr/include/sys/types.h:67: error: conflicting declaration 'typedef __gid_t gid_t'
/usr/include/linux/types.h:27: error: 'gid_t' has a previous declaration as 'typedef __kernel_gid_t gid_t'
/usr/include/sys/types.h:72: error: conflicting declaration 'typedef __mode_t mode_t'
/usr/include/linux/types.h:15: error: 'mode_t' has a previous declaration as 'typedef __kernel_mode_t mode_t'
/usr/include/sys/types.h:77: error: conflicting declaration 'typedef __nlink_t nlink_t'
/usr/include/linux/types.h:16: error: 'nlink_t' has a previous declaration as 'typedef __kernel_nlink_t nlink_t'
/usr/include/sys/types.h:82: error: conflicting declaration 'typedef __uid_t uid_t'
/usr/include/linux/types.h:26: error: 'uid_t' has a previous declaration as 'typedef __kernel_uid_t uid_t'
In file included from /usr/include/sys/types.h:134,
                 from /usr/include/stdlib.h:321,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdlib:69,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/algorithm:63,
                 from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:25,
                 from /usr/include/glibmm-2.4/glibmm.h:28,
                 from epg_event.h:25,
                 from epg_events.h:25,
                 from channel.h:32,
                 from channel_manager.h:25,
                 from channel_manager.cc:22:
/usr/include/time.h:104: error: conflicting declaration 'typedef void* timer_t'
/usr/include/linux/types.h:22: error: 'timer_t' has a previous declaration as 'typedef __kernel_timer_t timer_t'
In file included from /usr/include/sys/types.h:221,
                 from /usr/include/stdlib.h:321,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdlib:69,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/algorithm:63,
                 from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:25,
                 from /usr/include/glibmm-2.4/glibmm.h:28,
                 from epg_event.h:25,
                 from epg_events.h:25,
                 from channel.h:32,
                 from channel_manager.h:25,
                 from channel_manager.cc:22:
/usr/include/sys/select.h:78: error: conflicting declaration 'typedef struct fd_set fd_set'
/usr/include/linux/types.h:12: error: 'fd_set' has a previous declaration as 'typedef struct __kernel_fd_set fd_set'
In file included from /usr/include/stdlib.h:321,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdlib:69,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/algorithm:63,
                 from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:25,
                 from /usr/include/glibmm-2.4/glibmm.h:28,
                 from epg_event.h:25,
                 from epg_events.h:25,
                 from channel.h:32,
                 from channel_manager.h:25,
                 from channel_manager.cc:22:
/usr/include/sys/types.h:235: error: conflicting declaration 'typedef __blkcnt_t blkcnt_t'
/usr/include/linux/types.h:119: error: 'blkcnt_t' has a previous declaration as 'typedef long unsigned int blkcnt_t'
make[2]: *** [channel_manager.o] Error 1

thanks for any help.

Martin

Related branches

Revision history for this message
Martin (m-gansser) wrote :

me-tv-0.8.12 compiles fine on Fedora 11, with the older kernel version
2.6.28-3.fc11.i586, but Fedora 11 is upcoming with kernel-2.6.29.x
gcc-4.4.0-4.i586 is not the problem.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

So are you able to isolate the issue. From what I can see the errors seem to be caused mostly by identifiers being ambiguously defined. I'm not sure if this is an issue with my includes or it's an issue with an existing library.

Changed in me-tv:
status: New → Incomplete
Revision history for this message
Martin (m-gansser) wrote :

problem can be solved with the followin CXXFLAGS
 ./configure CXXFLAGS=-D__KERNEL_STRICT_NAMES --prefix=/usr ...

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Hi Martin,

Are you able to elaborate on what the issue is, and what needs to be changed so to fix this?

Thanks

Revision history for this message
Martin (m-gansser) wrote :

Hi Michael,

I am sorry, but I haven 't a solution for the reported issue.

All I know is, that already a bug report exists on bugzilla.
https://bugzilla.redhat.com/show_bug.cgi?id=483644

The only Workaround for the moment is to put the '-D__KERNEL_STRICT_NAMES' flag to configure
'./configure CXXFLAGS=-D__KERNEL_STRICT_NAMES --prefix=/usr ...'

Thanks
Martin

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Removed linux/types.h references in revision 437 of the development branch. Can someone please tell me if that fixes the issue.

Changed in me-tv:
importance: Undecided → Medium
status: Incomplete → Fix Committed
Revision history for this message
Martin (m-gansser) wrote :

Hi Michael,

with revision 437, me-tv builds fine on Fedora 11.
bug can be switched to resolved.

thanks Martin

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

I think that the next version will be 0.8.14 but I'll take Scott's advice on that. After that we can mark this as Fix Released.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Thanks Martin, the information in the redhat bug was enough for me to determine the issue.

Revision history for this message
Scott Evans (vk7hse) wrote : Re: [Bug 377020] Re: compiling of me-tv-0.8.12 fails on Fedora 11

I've just consulted the guru's on MOTU and the next release version will
be 0.8.13 but future beta's will be in the format of x.x.x~betax ;)

Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

Released in 0.8.13.

Changed in me-tv:
status: Fix Committed → Fix Released
Revision history for this message
Martin (m-gansser) wrote :
Download full text (7.0 KiB)

Sorry, but the bug isn't solveld already, it was my mistake to comment the 'CXXFLAGS=-D__KERNEL_STRICT_NAMES' flag in the configure command.

g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/include/libgnomemm-2.6 -I/usr/lib/libgnomemm-2.6/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/libgnome-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeuimm-2.6 -I/usr/lib/libgnomeuimm-2.6/include -I/usr/include/libgnomecanvasmm-2.6 -I/usr/lib/libgnomecanvasmm-2.6/include -I/usr/include/gconfmm-2.6 -I/usr/lib/gconfmm-2.6/include -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-vfsmm-2.6 -I/usr/lib/gnome-vfsmm-2.6/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnet-2.0 -I/usr/lib/gnet-2.0/include/ -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wno-unused -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_SRC_DIR=\""."\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -MT channel_manager.o -MD -MP -MF .deps/channel_manager.Tpo -c -o channel_manager.o channel_manager.cc
In file included from /usr/include/stdlib.h:321,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdlib:69,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/bits/stl_algo.h:61,
                 from /usr/lib/gcc/i586-redhat-linux/4.4.0/../../../../include/c++/4.4.0/algorithm:63,
                 from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:26,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:25,
                 from /usr/include/glibmm-2.4/glibmm.h:28,
                 from epg_event.h:25,
                 from epg_events.h:25,
                 from channel.h:32,
                 from channel_manager.h:25,
                 from channel_manager.cc:22:
/usr/include/sys/types.h:62: error: conflicting declaration 'ty...

Read more...

Revision history for this message
Scott Evans (vk7hse) wrote : Re: [Me-tv-development] [Bug 377020] Re: compiling of me-tv-0.8.12 fails on Fedora 11

The current stable release is now 0.8.14 you may wish to attempt to try
with this instead of 0.8.12!

Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) wrote :

I'm still not 100% sure if this is an issue with Me TV or an issue with your glibc/kernel headers.

Revision history for this message
Matthew Vermeulen (mattvermeulen) wrote :

Just a note... I'm seeing the same problem still trying to compile me-tv 0.9.0 on latest F11 (kernel 2.6.29.4-167.fc11.i586), however including the ./configure options as detailed above by Martin fixes the problem

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.