gcc 3.4.4 doesn't work

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

gcc 3.4.4 doesn't work

Cesar Romani-4
By compiling a simple c file with gcc 3.4.4 on MSYS:

--------------------
#include <stdio.h>

int main() {
   printf("Hello World");
   return 0;
}
--------------------

I get the following error:

--------------------
$ gcc -o test1 test1.c
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
In function `_pei386_runtime_relocator':
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
/home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status
--------------------

I installed the following packages on MSYS:
gcc-3.4.4-3-msys-1.0.13-bin.tar.lzma
binutils-2.19.51-3-msys-1.0.13-bin.tar.lzma
w32api-3.14-3-msys-1.0.12-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dbg.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-doc.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-lic.tar.lzma

My MinGW gcc version is 4.5.0 and it works fine.

Many thanks in advance,

--
Cesar


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 doesn't work

Cesar Strauss-2
On 30/7/2010 15:23, Cesar Romani wrote:

> By compiling a simple c file with gcc 3.4.4 on MSYS:
>
> --------------------
> #include<stdio.h>
>
> int main() {
>     printf("Hello World");
>     return 0;
> }
> --------------------
>
> I get the following error:
>
> --------------------
> $ gcc -o test1 test1.c
> /bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
> In function `_pei386_runtime_relocator':
> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
> collect2: ld returned 1 exit status

Please try the following:

Create an empty directory and unpack the following archives:

bash-3.1.17-3-msys-1.0.13-bin.tar.lzma
binutils-2.19.51-3-msys-1.0.13-bin.tar.lzma
coreutils-5.97-3-msys-1.0.13-bin.tar.lzma
gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma
gcc-3.4.4-3-msys-1.0.13-bin.tar.lzma
grep-2.5.4-2-msys-1.0.13-bin.tar.lzma
libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma
libintl-0.17-2-msys-dll-8.tar.lzma
libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma
libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
sed-4.2.1-2-msys-1.0.13-bin.tar.lzma
termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma
w32api-3.14-3-msys-1.0.12-dev.tar.lzma

Make sure your archiving utility gives no errors when unpacking.

Start msys.bat, then try again.

Regards,
Cesar


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 doesn't work

Cesar Romani-4
On 30/07/2010 02:18 p.m., Cesar Strauss wrote:
 > On 30/7/2010 15:23, Cesar Romani wrote:
 >> By compiling a simple c file with gcc 3.4.4 on MSYS:
 >>
 >> --------------------
 >> #include<stdio.h>
 >>
 >> int main() {
 >>      printf("Hello World");
 >>      return 0;
 >> }
 >> --------------------
 >>
 >> I get the following error:
 >>
 >> --------------------
 >> $ gcc -o test1 test1.c
 >>
/bin/../lib/gcc/i686-pc-msys/3.4.4/../../../libmsys-1.0.dll.a(pseudo-reloc.o):
 >> In function `_pei386_runtime_relocator':
 >> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST_END__'
 >> /home/cstrauss/pkg/msysCORE/source/winsup/cygwin/lib/pseudo-reloc.c:429:
 >> undefined reference to `___RUNTIME_PSEUDO_RELOC_LIST__'
 >> collect2: ld returned 1 exit status
 >
 > Please try the following:
 >
 > Create an empty directory and unpack the following archives:
 >
 > bash-3.1.17-3-msys-1.0.13-bin.tar.lzma
 > binutils-2.19.51-3-msys-1.0.13-bin.tar.lzma
 > coreutils-5.97-3-msys-1.0.13-bin.tar.lzma
 > gawk-3.1.7-2-msys-1.0.13-bin.tar.lzma
 > gcc-3.4.4-3-msys-1.0.13-bin.tar.lzma
 > grep-2.5.4-2-msys-1.0.13-bin.tar.lzma
 > libiconv-1.13.1-2-msys-1.0.13-dll-2.tar.lzma
 > libintl-0.17-2-msys-dll-8.tar.lzma
 > libregex-1.20090805-2-msys-1.0.13-dll-1.tar.lzma
 > libtermcap-0.20050421_1-2-msys-1.0.13-dll-0.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-bin.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-dev.tar.lzma
 > msysCORE-1.0.15-1-msys-1.0.15-ext.tar.lzma
 > sed-4.2.1-2-msys-1.0.13-bin.tar.lzma
 > termcap-0.20050421_1-2-msys-1.0.13-bin.tar.lzma
 > w32api-3.14-3-msys-1.0.12-dev.tar.lzma
 >
 > Make sure your archiving utility gives no errors when unpacking.
 >
 > Start msys.bat, then try again.

Thanks a lot, this time it works.
Something on my old msys installation must be interfering with the new
files. I don't know what it is.
Should I remove the old msys installation and install all the new msys
files?

Best regards,

--
Cesar


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 doesn't work

Charles Wilson-8
On 7/31/2010 10:57 AM, Cesar Romani wrote:
> Thanks a lot, this time it works.
> Something on my old msys installation must be interfering with the new
> files. I don't know what it is.
> Should I remove the old msys installation and install all the new msys
> files?

You know, Keith mentioned about a year ago that he had some trouble
doing an "overlay" update of his msys installation with the newer files.
 We didn't track it down further at the time, because by the time I got
around to it he had already done what you just did: moved the old
intallation away and re-installed the new msys packages from scratch.

--
Chuck



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 doesn't work

Cesar Strauss-2
On 31/7/2010 13:58, Charles Wilson wrote:

> On 7/31/2010 10:57 AM, Cesar Romani wrote:
>> Thanks a lot, this time it works.
>> Something on my old msys installation must be interfering with the new
>> files. I don't know what it is.
>> Should I remove the old msys installation and install all the new msys
>> files?
>
> You know, Keith mentioned about a year ago that he had some trouble
> doing an "overlay" update of his msys installation with the newer files.
>   We didn't track it down further at the time, because by the time I got
> around to it he had already done what you just did: moved the old
> intallation away and re-installed the new msys packages from scratch.
>

Maybe this change caused Cesar's troubles:

----------  msysCORE-1.0.13-1 -- 2010 Jan 15 -----------
* Developer files are moved from within /usr/i686-pc-msys to
   /usr/include and /usr/lib.

Cesar, if still have your old installation around, please try removing
the old i686-pc-msys directory. Otherwise, reinstalling is maybe the
easiest route.

Regards,
Cesar


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys
Reply | Threaded
Open this post in threaded view
|

Re: gcc 3.4.4 doesn't work

Cesar Romani-4
On 31/07/2010 01:41 p.m., Cesar Strauss wrote:
 > On 31/7/2010 13:58, Charles Wilson wrote:
 >> On 7/31/2010 10:57 AM, Cesar Romani wrote:
 >>> Thanks a lot, this time it works.
 >>> Something on my old msys installation must be interfering with the new
 >>> files. I don't know what it is.
 >>> Should I remove the old msys installation and install all the new msys
 >>> files?
 >>
 >> You know, Keith mentioned about a year ago that he had some trouble
 >> doing an "overlay" update of his msys installation with the newer files.
 >>    We didn't track it down further at the time, because by the time
I got
 >> around to it he had already done what you just did: moved the old
 >> intallation away and re-installed the new msys packages from scratch.
 >>
 >
 > Maybe this change caused Cesar's troubles:
 >
 > ----------  msysCORE-1.0.13-1 -- 2010 Jan 15 -----------
 > * Developer files are moved from within /usr/i686-pc-msys to
 >     /usr/include and /usr/lib.
 >
 > Cesar, if still have your old installation around, please try removing
 > the old i686-pc-msys directory. Otherwise, reinstalling is maybe the
 > easiest route.

Thanks a lot. I removed the i686-pc-msys directory and all is working
fine.

Best regards,

--
Cesar


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mingw-msys mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mingw-msys