Opened 12 years ago

Closed 12 years ago

#3723 closed defect (invalid)

compilation problems unter ubuntu 6.06 with gcc 4.0.3

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When I try to compile mythtv i'll get following error:

distcc g++ -c -pipe -march=pentium-mmx -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -w -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -D__STDC_CONSTANT_MACROS -fPIC -DPIC -D_REENTRANT  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../../../../local/include -I../../../../share/doc/nvidia-glx-dev/include -I../../../../include -I../../../../X11R6/include -I../../libs/libavcodec -I../.. -I../../../../include/qt3 -o FIRFilter.o FIRFilter.cpp
distcc[2415] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work
distcc[2415] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/char_traits.h:46,
                 from /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/string:46,
                 from /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/stdexcept:44,
                 from FIRFilter.cpp:46:
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:76:25: error: debug/debug.h: No such file or directory
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'void std::fill(unsigned char*, unsigned char*, const unsigned char&)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:575: error: '__glibcxx_requires_valid_range' was not declared in this scope
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'void std::fill(signed char*, signed char*, const signed char&)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:583: error: '__glibcxx_requires_valid_range' was not declared in this scope
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'void std::fill(char*, char*, const char&)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:591: error: '__glibcxx_requires_valid_range' was not declared in this scope
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:880: error: '__glibcxx_requires_valid_range' was not declared in this scope
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'bool std::lexicographical_compare(const char*, const char*, const char*, const char*)':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:894: error: '__glibcxx_requires_valid_range' was not declared in this scope
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h: In function 'bool std::lexicographical_compare(_InputIterator1, _InputIterator1, _InputIterator2, _InputIterator2) [with _InputIterator1 = const signed char*, _InputIterator2 = const signed char*]':
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:901:   instantiated from here
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algobase.h:824: error: '__glibcxx_requires_valid_range' was not declared in this scope
distcc[2415] ERROR: compile FIRFilter.cpp on localhost failed
make[2]: *** [FIRFilter.o] Error 1
make[2]: Leaving directory `/usr/src/mythtv_cvs/libs/libmythsoundtouch'
make[1]: *** [sub-libmythsoundtouch] Error 2
make[1]: Leaving directory `/usr/src/mythtv_cvs/libs'
make: *** [sub-libs] Error 2

I use gcc 4.0.3 on ubuntu 6.06. There was a similar bug a while ago (#2223). I tried to swap includes, but it did not help. I was able to compile mythtv under feisty with gcc 4.1.2 without problems.

Change History (2)

comment:1 Changed 12 years ago by marco.hemminger@…

I tried a compilation under a clean ubuntu 6.06 installation in the meantime. This time it worked without problems. Unfortunatly I can not tell the difference between my working system and the clean installation.

comment:2 Changed 12 years ago by paulh

Resolution: invalid
Status: newclosed

User reports a clean install works.

Note: See TracTickets for help on using tickets.