SA-MP Forums Archive
[Ajuda] Qual o problema? PAWNO - WINE UBUNTU - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Qual o problema? PAWNO - WINE UBUNTU (/showthread.php?tid=606109)



Qual o problema? PAWNO - WINE UBUNTU - ubunttu - 29.04.2016

Por que quando eu tento compilar o meu GM eu nгo consigo?
O que tem de errado?

Um new.pwn estб funcionando, mas o meu GM nгo




Код:
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



Re: Qual o problema? PAWNO - WINE UBUNTU - ipsLuan - 29.04.2016

Use o Sublime Text, pois ele tem o IDE especнfico para o Ubuntu.

https://sampforum.blast.hk/showthread.php?tid=489753

Em relaзгo a Sublime Text, use a versгo free, pois funciona certinho!


Re: Qual o problema? PAWNO - WINE UBUNTU - ubunttu - 29.04.2016

Quote:
Originally Posted by ipsLuan
Посмотреть сообщение
Use o Sublime Text, pois ele tem o IDE especнfico para o Ubuntu.

https://sampforum.blast.hk/showthread.php?tid=489753

Em relaзгo a Sublime Text, use a versгo free, pois funciona certinho!
Atй onde eu sei o sublime text nгo й FREE, ele era FREE antes, agora vocк usa ele por 1 mкs, dps sу continua usando com uma KEY paga
Resolver o problema desse jeito й sу adiar o problema pra daqui a um mкs


Re: Qual o problema? PAWNO - WINE UBUNTU - Larceny - 30.04.2016

Aconselho o uso do atom com o pacote atom-build tanto para linux quanto para windows (especialmente se vocк usa github).

Para compilar vocк cria um arquivo chamado atom-build.json na raiz de seu projeto.

Exemplo do atom-build.json:
Код:
{
  "cmd": "/home/user/caminho/para/o/pawncc",
  "args": [
    "-i{FILE_ACTIVE_PATH}/../includes",
    "-\\(+",
    "-\\;+",
    "-\\Z+",
    "{FILE_ACTIVE}"
  ],
  "sh": true,
  "cwd": "{FILE_ACTIVE_PATH}",
  "errorMatch": "^(?<file>.+)\\((?<line>[0-9]+)\\)"
}
Mais detalhes aqui: https://github.com/noseglid/atom-build
(O libpawnc.so ainda precisa estar na /lib/, as includes nгo)