Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32 bit, wine, compiling with CFLAGS=-m32 LDFLAGS=-m32 make no success #432

Open
fabiodl opened this issue Jul 2, 2023 · 0 comments
Open

Comments

@fabiodl
Copy link

fabiodl commented Jul 2, 2023

I am compiling using CFLAGS=-m32 LDFLAGS=-m32 make
but when I run
WINEARCH=win32 WINEPREFIX=/home/$USER/.wine32 LD_PRELOAD=/home/user/git/libfaketime/src/libfaketime.so.1 wine cmd.exe
I get
ERROR: ld.so: object '/home/user/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

note: if I compile with no flags I get
ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

If I compile with -DMULTI_ARCH in CFLAGS and LDFLAGS I still get
ERROR: ld.so: object '/home/fabio/git/libfaketime/src/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

distro: manjaro

@fabiodl fabiodl changed the title 32 bit, compiling with CFLAGS=-m32 LDFLAGS=-m32 make no success 32 bit, wine, compiling with CFLAGS=-m32 LDFLAGS=-m32 make no success Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant