public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04
@ 2011-08-22  9:33 ravish_nayak2003 at yahoo dot co.in
  2011-08-22 10:01 ` [Bug libmudflap/50152] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ravish_nayak2003 at yahoo dot co.in @ 2011-08-22  9:33 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: ravish_nayak2003@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
  2011-08-22  9:33 [Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04 ravish_nayak2003 at yahoo dot co.in
@ 2011-08-22 10:01 ` redi at gcc dot gnu.org
  2011-08-22 11:20 ` ravish_nayak2003 at yahoo dot co.in
  2013-11-10  5:52 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2011-08-22 10:01 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-08-22
     Ever Confirmed|0                           |1
           Severity|critical                    |normal

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-22 09:59:45 UTC ---
(In reply to comment #0)
> The same issue(not exactly) i saw in this with bugid 13505 & 15864.

Those bugs are really old and the fixes have been included in GCC for years.

Please follow the bug reporting instructions:
http://gcc.gnu.org/bugs/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
  2011-08-22  9:33 [Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04 ravish_nayak2003 at yahoo dot co.in
  2011-08-22 10:01 ` [Bug libmudflap/50152] " redi at gcc dot gnu.org
@ 2011-08-22 11:20 ` ravish_nayak2003 at yahoo dot co.in
  2013-11-10  5:52 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ravish_nayak2003 at yahoo dot co.in @ 2011-08-22 11:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from ravish <ravish_nayak2003 at yahoo dot co.in> 2011-08-22 11:11:16 UTC ---
Hi,

I am trying to build 

gcc version 4.5.1 on ubuntu machine i.e., 11.04 (x86_64) machine.

The config parameters are:-

./configure --prefix=/ravnay01/gcc-4.3.3-download/gcc_files
--bindir=/ravnay01/gcc-4.3.3-download/gcc_files/bin
--libdir=/ravnay01/gcc-4.3.3-download/gcc_files/lib
--libexecdir=/ravnay01/gcc-4.3.3-download/gcc_files/libexec
--include-dir=/ravnay01/gcc-4.3.3-download/gcc_files/include --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,fortran,java,objc --disable-multilib


The native version of gcc is:-

/usr/bin/gcc ---> gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

Error which I got:-


../.././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
make[4]: *** [mf-hooks2.lo] Error 1

Thanks,
Ravish


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
  2011-08-22  9:33 [Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04 ravish_nayak2003 at yahoo dot co.in
  2011-08-22 10:01 ` [Bug libmudflap/50152] " redi at gcc dot gnu.org
  2011-08-22 11:20 ` ravish_nayak2003 at yahoo dot co.in
@ 2013-11-10  5:52 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-11-10  5:52 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |WONTFIX
   Target Milestone|---                         |4.9.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
fmudflap support has been removed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-10  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22  9:33 [Bug libmudflap/50152] New: gcc v4.5.1 installation error on ubuntu 11.04 ravish_nayak2003 at yahoo dot co.in
2011-08-22 10:01 ` [Bug libmudflap/50152] " redi at gcc dot gnu.org
2011-08-22 11:20 ` ravish_nayak2003 at yahoo dot co.in
2013-11-10  5:52 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).