Whats the problem? PAWNO - WINE UBUNTU
#1

When when i tried to compile my gamemode i can't?

When i tried a new.pwn its work normal, but my gamemode not




Код:
Unhandled exception: page fault on read access to 0x00000044 in 32-bit code (0x100119ec).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:100119ec ESP:00d9f1e8 EBP:00000001 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000004 EBX:00000020 ECX:00000000 EDX:00000000
 ESI:0026ca48 EDI:00000000
Stack dump:
0x00d9f1e8:  00d9f8f4 0026ca48 00d9f430 00000000
0x00d9f1f8:  00000000 00000000 00000001 0026cac0
0x00d9f208:  0026cac0 7e9ac867 002aa5c8 00000000
0x00d9f218:  00000000 00000000 00000001 00000000
0x00d9f228:  00000000 7e9ac867 0026ca48 00000000
0x00d9f238:  00d9f8f4 00000000 00000001 00000000
Backtrace:
=>0 0x100119ec in pawnc (+0x119ec) (0x00000001)
0x100119ec: cmpl	%eax,0x44(%ecx)
Modules:
Module	Address			Debug info	Name (36 modules)
PE	  400000-  407000	Deferred        pawncc
PE	10000000-10029000	Export          pawnc
ELF	7b800000-7ba6b000	Deferred        kernel32<elf>
  \-PE	7b820000-7ba6b000	\               kernel32
ELF	7bc00000-7bcf0000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcf0000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7e7bd000-7e7e1000	Deferred        imm32<elf>
  \-PE	7e7c0000-7e7e1000	\               imm32
ELF	7e7e1000-7e80a000	Deferred        libexpat.so.1
ELF	7e80a000-7e84d000	Deferred        libfontconfig.so.1
ELF	7e84d000-7e879000	Deferred        libpng12.so.0
ELF	7e879000-7e892000	Deferred        libz.so.1
ELF	7e892000-7e93f000	Deferred        libfreetype.so.6
ELF	7e95e000-7ea20000	Deferred        msvcr80<elf>
  \-PE	7e980000-7ea20000	\               msvcr80
ELF	7ea20000-7ea39000	Deferred        version<elf>
  \-PE	7ea30000-7ea39000	\               version
ELF	7ea39000-7eab3000	Deferred        advapi32<elf>
  \-PE	7ea50000-7eab3000	\               advapi32
ELF	7eab3000-7ebd4000	Deferred        gdi32<elf>
  \-PE	7eac0000-7ebd4000	\               gdi32
ELF	7ebd4000-7ed32000	Deferred        user32<elf>
  \-PE	7ebf0000-7ed32000	\               user32
ELF	7ed54000-7ed62000	Deferred        libnss_files.so.2
ELF	7ed62000-7ed6f000	Deferred        libnss_nis.so.2
ELF	7ed6f000-7ed8a000	Deferred        libnsl.so.1
ELF	7ed8a000-7ed94000	Deferred        libnss_compat.so.2
ELF	7ef94000-7efe1000	Deferred        libm.so.6
ELF	f7385000-f738a000	Deferred        libdl.so.2
ELF	f738a000-f7545000	Deferred        libc.so.6
ELF	f7545000-f7562000	Deferred        libpthread.so.0
ELF	f7567000-f7570000	Deferred        librt.so.1
ELF	f7582000-f7738000	Dwarf           libwine.so.1
ELF	f773a000-f775e000	Deferred        ld-linux.so.2
ELF	f7760000-f7761000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 pawno.exe
	00000009    0
0000000e services.exe
	0000001d    0
	0000001c    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	00000020    0
	00000019    0
	00000018    0
	00000013    0
0000001a plugplay.exe
	0000001f    0
	0000001e    0
	0000001b    0
00000021 explorer.exe
	00000026    0
	00000025    0
	00000024    0
	00000023    0
	00000022    0
00000027 pawno.exe
	0000002a    0
	00000029    0
	00000028    0
00000034 (D) C:\pawno\pawncc.exe
	00000033    0 <==
System information:
    Wine build: wine-1.8.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 4.2.0-35-generic
Reply
#2

Pawno will not work properly with Wine. It works fine with Windows.
Reply
#3

I'd still say you're missing runtimes.

Install vcredist2005
Reply
#4

Lol, just compile pawncc for your distro and call it natively via Sublime text or Atom.
Reply
#5

Quote:
Originally Posted by Sithis
Посмотреть сообщение
Lol, just compile pawncc for your distro and call it natively via Sublime text or Atom.
Have you actually done that? Serious question...
Reply
#6

Yes, not only for Linux but also for OSX. I usually script in OSX because my Macbook is my main machine for university.

Screenshot:
Reply
#7

Quote:
Originally Posted by Sithis
Посмотреть сообщение
Yes, not only for Linux but also for OSX. I usually script in OSX because my Macbook is my main machine for university.

Screenshot:
That's a funny pawn version there...



Funny that this thread is about getting pawno to work under WINE, rather than going whole-hog and making things technical beyond a basic user.



All he needs to do is install vcredist2005 for wine...
Reply
#8

Nothing hard about compiling the compiler using CMake. Just read the instructions: https://github.com/Zeex/pawn/blob/master/readme.txt

I was able to figure out how to do it under OSX using these instructions. I had never used CMake before that.
Reply
#9

Still, the topic is about getting Pawncc normal to work under Wine, which can be done easier, than compiling Zeex modified pawncc.


After all, it'll simply be that runtimes are missing.
Reply
#10

I answered the original topic perfectly. The topic starter is trying to compile a SA:MP script in Ubuntu. Why even bother using Wine when you can have a perfectly working NATIVE compiler?

My point is that I do not wish to encourage people to use bad solutions. If you want to work on *nix, use the native compiler which is easily installed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)