Displaying 18 results from an estimated 18 matches similar to: "Porting with winelib - undefined reference to `WinMain'"
2006 Mar 06
1
Wins Installation problem on solairs x86 version 5.10
Follwoing errors are shown while installation. Any quick help will be
highly appriciated.
config.c: In function `init_server_dir':
config.c:217: warning: right shift count >= width of type
config.c: In function `init_paths':
config.c:256: warning: unsigned int format, uid_t arg (arg 3)
mmap.c: In function `try_mmap_fixed':
mmap.c:107: warning: implicit declaration of function
2009 Sep 03
4
build wine dll problem
I am trying to follow the instructions here (http://www.winehq.org/docs/winelib-guide/bindlls-wrapper) to build a dll with wine that i can load dynamically in a windows wine application.
this is what i am doing:
MyWinDll.spec
Code:
2 stdcall MyWinFunc (int) MyProxyWinFunc
MyWin.c
Code:
#include <windef.h>
short MyProxyWinFunc(int *i)
{
return 5;
}
shell
Code:
winemaker --nosource-fix
2010 Jun 09
2
Help with simple dll wrapper around linux so
Ive recently got metatrader to work on linux uner wine and would now like to see if i can import a dll wrapper so i can use some code i wrote in linux. Im trying something like this (based on http://www.winehq.org/docs/winelib-guide/bindlls) :
add.c:
Code:
int add(int a,int b) {
return a+b;
}
add.h:
> int add(int,int);
WinAdd.c:
WinAdd.c:
Code:
#include <windef.h>
#include
2020 Jan 06
2
clang interpreter failed to materialize symbols
Hello,
I am new to LLVM and what I am trying to do is to get a very simple “hello-world” C++ program to compile to LLVM IR and then to run it using lli tool.
So here is the program code (hello.cpp):
#include <iostream>
int main (int argc, char *argv[])
{
std::cout << "Hello World!\n";
return 0;
}
Below are the steps I do to achieve that goal:
1. clang++.exe
2020 Jan 14
4
clang interpreter failed to materialize symbols
Hi Igor, not sure if that will work, but have you tried lli
-jit-kind=orc-lazy ? The default is still MCJIT:
https://github.com/llvm/llvm-project/blob/master/llvm/tools/lli/lli.cpp#L88
On 13/01/2020 19:07, David Blaikie via llvm-dev wrote:
> (+Lang for JIT/interpreter questions)
>
> On Sun, Jan 5, 2020 at 5:00 PM Igor Gomon via llvm-dev
> <llvm-dev at lists.llvm.org
2020 Jan 16
2
clang interpreter failed to materialize symbols
Hi Stefan,
I just tried the -jit-kind=orc-lazy with lli executable and it solves the problem on Ubuntu 18.04 (still does not work on Windows 10). But this solution is good enough for me now. Thanks again for your help!
--
Best Regards,
Igor
________________________________
From: Igor Gomon <giv_ua at hotmail.com>
Sent: Tuesday, January 14, 2020 7:38 PM
To: Stefan Gränitz
2011 Jan 31
1
crash with winecfg
hi,
when i start winecfg in terminal i get an error message.
Code:
maik at maik-laptop:~$ winecfg
fixme:shell:MLSetMLHInstance (0x71590000,0x7e950000) stub
fixme:mlang:GetGlobalFontLinkObject
wine: Unhandled page fault on read access to 0x00000004 at address 0x4 (thread 0049), starting debugger...
Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x00000004).
2008 Apr 01
7
Notepad - resizing
I use the included Notepad a lot.
WINE used to save where I had re-sized and placed it, but now it does not.
How do I save my re-size?
Thank you.
2009 Feb 14
3
Building wine with profile generation
Hi all,
I'm trying to build wine with the following command:
Code:
./configure CFLAGS="-O2 -fprofile-generate" --prefix=/home/ema/winepf
As I have a lot of these errors:
Code:
gcc -O2 -fprofile-generate -o sfnt2fnt sfnt2fnt.o -L../libs/wine -lwine ../libs/port/libwine_port.a -lfreetype -lz -Wl,--rpath,\$ORIGIN/../libs/wine
/usr/bin/ld: sfnt2fnt: hidden symbol
2011 Dec 18
0
fst, wine, Kontakt5 ... still no joy
Hi,
(Sorry for the cross-posting.)
After manually installing the 32-bit libjack packages on my 64-bit system,
the original problem ("Can't connect to JACK") is gone; now I get a
whole new set of errors instead :)
When I try to start the Kontakt 5 VST from festige (via fst, via WINE),
this is what I get:
============================
----------------yo... lets see...
2010 Mar 04
0
Compiling wine in Solaris.
Hi. I am trying to compile wine in Solaris 10 x86 platform.
I am getting the following errors:
Code:
make[1]: Entering directory `/home/dvik/wine-1.1.39/dlls/acledit'
../../tools/makedep -C. -S../.. -T../.. main.c
make[1]: Leaving directory `/home/dvik/wine-1.1.39/dlls/acledit'
make[1]: Entering directory `/home/dvik/wine-1.1.39/dlls/acledit'
gcc -c -I. -I.
2011 Aug 11
2
error message of wingcc
When I try to build my existing application using winegcc, I get the following error message.
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/local/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (vida_codecs.a8MfIW.o) is not supported
winebuild: /usr/bin/ld -r failed with status 256
This application can be built from a 32 bit OS Linux without problem.
2005 Sep 11
1
Compile cvs version
Hi !
After download latest version from cvs compile fails:
make[2]: Entering directory `/backup/privat/emulator/wine/dlls/activeds'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT
-fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith -g -O2 -o activeds_main.o activeds_main.c
../../tools/winebuild/winebuild -D__WINESRC__
2005 Oct 30
2
Compile cvs version fails
Hi !
Compile latest cvs version fails:
make[2]: Leaving directory `/backup/privat/emulator/wine/dlls/winedos'
rm -f winedos.dll.so && ln -s winedos/winedos.dll.so winedos.dll.so
rm -f wprocs.dll.so && ln -s winedos.dll.so wprocs.dll.so
make[2]: Entering directory `/backup/privat/emulator/wine/dlls/activeds'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__
2009 Feb 21
2
Compiling Winelib application under x86_64
Hi All
I'm trying to compile the following program
int main()
{
return 0;
}
I generated a makefile using winemaker
running make I get
wineg++ -c -mno-cygwin -o test.o test.cpp
wineg++ -mwindows -mno-cygwin -o test.exe.so test.o -lodbc32 -lole32 -loleaut32 -lwinspool -luuid
ld: Relocatable linking with relocations from format elf32-i386
2006 Jul 14
0
ld -r failed with status 256
Hi,
I'm trying to compile (windows) cpp-sources on a Sun Fire X2100 using
wineg++.
I have managed that all sources are compiled without complain, but
finally
ld aborts with an error message about i386 and x86-64 architecures.
Any idea, what I should do?
thx,
teb
$wineg++ *.cpp
ld: Relocatable linking with relocations from format elf32-i386
(/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to
2007 Mar 19
4
exec: 29: /usr/bin/wine: not found
Hi,
I?ve installed wine on Ubuntu 6.10 64bit using the following guide :
http://www.ubuntuforums.org/showthread.php?t=185557
but, when I type winecfg in Terminal I get the following error :
exec: 29: /usr/bin/wine: not found
Dunno if it may help, but here?s a terminal shot of when wine was
getting installed.
matt@ubuntu:~/Desktop$ dpkg -x lib
libartsc0_1.3.2-3_amd64.deb
2010 Dec 01
3
Error While installing Wine on OSX version 10.4.1.1!!
Hello all,
I was trying to install Wine on my MacBook via the Terminal. These are my system specs:
odel Name: MacBook
Model Identifier: MacBook2,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per processor): 4 MB
Memory: 1 GB
Bus Speed: 667 MHz
Boot ROM Version: MB21.00A5.B07
SMC Version: 1.13f3
Serial Number: BLAHBLABLAH