[R] 32bit application

Venky Vulpine venkyvu|p|ne @end|ng |rom gm@||@com
Wed Jun 28 09:32:41 CEST 2023


After doing "make clean".
I entered the "make all recommended MULTI=32" and got the following error:

make all recommended MULTI=32
make[1]: 'MkRules' is up to date.
make --no-print-directory -C front-ends Rpwd
make -C ../../include -f Makefile.win version
make Rpwd.exe
gcc -std=gnu99 -m32 -I../../include -DR_ARCH='"i386"'  -O3 -Wall -pedantic
  -c rpwd.c -o rpwd.o
windres -F pe-i386   -i rcico.rc -o rcico.o
gcc -std=gnu99 -m32 -s  -o Rpwd.exe rpwd.o rcico.o
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0\libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libpthread.a
when searching for -lpthread
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libpthread.a
when searching for -lpthread
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libpthread.a
when searching for -lpthread
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lpthread
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libpthread.a
when searching for -lpthread
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libadvapi32.a
when searching for -ladvapi32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libadvapi32.a
when searching for -ladvapi32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libadvapi32.a
when searching for -ladvapi32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-ladvapi32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libadvapi32.a
when searching for -ladvapi32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libshell32.a
when searching for -lshell32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libshell32.a
when searching for -lshell32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libshell32.a
when searching for -lshell32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lshell32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libshell32.a
when searching for -lshell32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libuser32.a
when searching for -luser32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libuser32.a
when searching for -luser32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libuser32.a
when searching for -luser32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -luser32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libuser32.a
when searching for -luser32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libkernel32.a
when searching for -lkernel32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libkernel32.a
when searching for -lkernel32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libkernel32.a
when searching for -lkernel32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lkernel32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libkernel32.a
when searching for -lkernel32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingw32.a
when searching for -lmingw32
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0\libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/libgcc.a
when searching for -lgcc
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmoldname.a
when searching for -lmoldname
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find
-lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmingwex.a
when searching for -lmingwex
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../..\libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: cannot find -lmsvcrt
C:\rtools42\x86_64-w64-mingw32.static.posix\bin/ld.exe: skipping
incompatible
c:/rtools42/x86_64-w64-mingw32.static.posix/bin/../lib/gcc/x86_64-w64-mingw32.static.posix/10.4.0/../../../libmsvcrt.a
when searching for -lmsvcrt
collect2.exe: error: ld returned 1 exit status
make[4]: *** [../MkRules:161: Rpwd.exe] Error 1
make[3]: *** [Makefile:124: Rpwd] Error 2
make[2]: *** [Makefile:106: front-ends/Rpwd.exe] Error 2
make[1]: *** [Makefile:110: rbuild] Error 2
make: *** [Makefile:17: all] Error 2

On Wed, Jun 28, 2023 at 12:52 PM Ivan Krylov <krylov.r00t using gmail.com> wrote:

> On Wed, 28 Jun 2023 08:54:14 +0530
> Venky Vulpine <venkyvulpine using gmail.com> wrote:
>
> > [image: image.png]
>
> Please copy and paste the error text from the command line window. For
> historical reasons, you need to use Ctrl+Insert in order to copy text
> from it and Shift+Insert in order to paste text into it.
>
> It seems that the assembler is being invoked in 64-bit mode for 32-bit
> assembly. I think I gave you the wrong parameter to set in order to
> switch into 32-bit mode. Run `make clean` in order to remove the already
> existing object files (I think they ended up being 64-bit) and then run:
>
>   make all recommended MULTI=32
>
> --
> Best regards,
> Ivan
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list