This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
- From: "ravish_nayak2003 at yahoo dot co.in" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Aug 2011 11:11:16 +0000
- Subject: [Bug libmudflap/50152] gcc v4.5.1 installation error on ubuntu 11.04
- Auto-submitted: auto-generated
- References: <bug-50152-4@http.gcc.gnu.org/bugzilla/>
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