http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50152

             Bug #: 50152
           Summary: gcc v4.5.1 installation error on ubuntu 11.04
    Classification: Unclassified
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: libmudflap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ravish_nayak2...@yahoo.co.in


Hi,

I am trying to install gcc 4.5.1 on ubuntu 11.04 64 bit machine.

I got following error and it got exit from the installation.

The same issue(not exactly) i saw in this with bugid 13505 & 15864.

I try to apply the patch which is provided by the link :-

 Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/ChangeLog.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/mf-hooks2.c.diff?cvsroot=gcc&r1=1.5&r2=1.6

But those changes are very well there in the mf-hooks2.c file.

so, could you please provide me an alternative solution to fix this issue..

The issue(bug) is :-


../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservent':
../.././libmudflap/mf-hooks2.c:2011:3: warning: implicit declaration of
function 'getservent'
../.././libmudflap/mf-hooks2.c:2011:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2013:32: error: dereferencing pointer to
incomplete type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyname':
../.././libmudflap/mf-hooks2.c:2028:3: warning: implicit declaration of
function 'getservbyname'
../.././libmudflap/mf-hooks2.c:2028:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2030:32: error: dereferencing pointer to
incomplete type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getservbyport':
../.././libmudflap/mf-hooks2.c:2043:3: warning: implicit declaration of
function 'getservbyport'
../.././libmudflap/mf-hooks2.c:2043:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2045:32: error: dereferencing pointer to
incomplete type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_gai_strerror':
../.././libmudflap/mf-hooks2.c:2056:3: warning: implicit declaration of
function 'gai_strerror'
../.././libmudflap/mf-hooks2.c:2056:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c: At top level:
../.././libmudflap/mf-hooks2.c:2104:1: warning: 'struct in_addr' declared
inside parameter list
../.././libmudflap/mf-hooks2.c:2104:1: warning: its scope is only this
definition or declaration, which is probably not what you want
../.././libmudflap/mf-hooks2.c:2104:1: error: parameter 1 ('in') has incomplete
type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_inet_ntoa':
../.././libmudflap/mf-hooks2.c:2110:3: warning: implicit declaration of
function 'inet_ntoa'
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotoent':
../.././libmudflap/mf-hooks2.c:2123:3: warning: implicit declaration of
function 'getprotoent'
../.././libmudflap/mf-hooks2.c:2123:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2125:32: error: dereferencing pointer to
incomplete type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobyname':
../.././libmudflap/mf-hooks2.c:2137:3: warning: implicit declaration of
function 'getprotobyname'
../.././libmudflap/mf-hooks2.c:2137:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2139:32: error: dereferencing pointer to
incomplete type
../.././libmudflap/mf-hooks2.c: In function '__mfwrap_getprotobynumber':
../.././libmudflap/mf-hooks2.c:2150:3: warning: implicit declaration of
function 'getprotobynumber'
../.././libmudflap/mf-hooks2.c:2150:7: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c:2152:32: error: dereferencing pointer to
incomplete type


Thanks,
Ravish

Reply via email to