sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #66946
Rpmbuild af Maildrop
Hejsa.
Jeg sidder her og forsøger at få rpmbuild til at bygge en pakke ud af
maildrop's kildekode. (Denne gang kan den godt finde filen :-) Jeg har lidt
på fornemmelsen at der er noget galt med min gcc, en rpmbuild -ta
maildrop-[version].tar.bz2 afslutter efter et stykke tid med:
mio.h:80: previous declaration of `MioStdio min'
mio.h:80: previous non-function declaration `MioStdio min'
/usr/include/g++-3/stl_algobase.h:91: conflicts with function
declaration `template <class _Tp> const _Tp &min (const _Tp &, const
_Tp &)'
/usr/include/g++-3/stl_algobase.h:103: `template <class _Tp, class
_Compare> const _Tp &min (const _Tp &, const _Tp &, _Compare)'
redeclared as different kind of symbol
mio.h:80: previous declaration of `MioStdio min'
mio.h:80: previous non-function declaration `MioStdio min'
/usr/include/g++-3/stl_algobase.h:103: conflicts with function
declaration `template <class _Tp, class _Compare> const _Tp &min (const
_Tp &, const _Tp &, _Compare)'
/usr/include/g++-3/stl_algobase.h: In function `bool
lexicographical_compare (const unsigned char *, const unsigned char *,
const unsigned char *, const unsigned char *)':
/usr/include/g++-3/stl_algobase.h:442: no match for call to `(MioStdio)
(const size_t &, const size_t &)'
/usr/include/g++-3/stl_algobase.h: In function `int
__lexicographical_compare_3way (const unsigned char *, const unsigned
char *, const unsigned char *, const unsigned char *)':
/usr/include/g++-3/stl_algobase.h:490: no match for call to `(MioStdio)
(const ptrdiff_t &, const ptrdiff_t &)'
make[2]: *** [maildir.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/maildrop-1.6.1/maildrop'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/maildrop-1.6.1/maildrop'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.89873 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.89873 (%build)
Jeg kan ikke finde andre (på google), der har samme problem. Jeg tror måske
at min gcc er for ny? Er der nogen med øjne som en havørn, der lige kan
spotte problemet?
--
MvH
Gregers Petersen, Stud.Polyt.
Follow ups