Re: gEDA-user: crosscompile for windows with minipack

2011-05-11 Thread Cesar Strauss
On 05/10/2011 11:05 PM, Kai-Martin Knaak wrote:

> As mentioned in the thread "Where is pcb-20100929 for Win32 ?" 
> I tried to go the minipack way to crosscompile geda and PCB for 
> windows. There were warnings at compile time -- about 2200 lines. 

I get a ton of those as well. I should probably redirect warnings and
errors to the build log, with instructions to look in it in case of a
build failure.

Cesar



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: crosscompile for windows with minipack

2011-05-10 Thread Kai-Martin Knaak
As mentioned in the thread "Where is pcb-20100929 for Win32 ?" 
I tried to go the minipack way to crosscompile geda and PCB for 
windows. There were warnings at compile time -- about 2200 lines. 
The build script declared itself successful. 

Unfortunately, the binaries fail when started with wine. They fail with
different symptoms:

-gnetlist
kmk@bibo:/tmp$ wine 
/usr/local/src/pcb/pcb-for-windows/minipack/result/bin/gsch2pcb.exe 
pidpeltier.g2p
gsch2pcb: gnetlist command (gnetlist -q -g gsch2pcb -o pidpeltier.pcb -m 
gnet-gsch2pcb-
tmp.scm pidpeltier.sch) failed.
At least gnetlist 20030901 is required for m4-xxx options.


--PCB
kmk@bibo:/usr/local/src/pcb/pcb-for-windows/minipack/result/bin$ wine ./pcb.exe 

(pcb.exe:8): GLib-WARNING **: Passing a non-NULL package to 
g_win32_get_package_installation_directory() is deprecated and it is ignored.
"Share" installation path is "Z:\usr\local\src\pcb\pcb-for-
windows\minipack\result\share\pcb"

(pcb.exe:8): GLib-WARNING **: Passing a non-NULL package to 
g_win32_get_package_installation_directory() is deprecated and it is ignored.
wine: Unhandled page fault on read access to 0x at address 0x7ec3a74a 
(thread 0009), 
starting debugger...


--gschem
kmk@bibo:/usr/local/src/pcb/pcb-for-windows/minipack/result/bin$ wine 
./gschem.exe 
wine: Unhandled page fault on read access to 0x at address 0xf7566110 
(thread 0009), 
starting debugger...
Unhandled exception: page fault on read access to 0x in 32-bit code 
(0xf7566110).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:f7566110 ESP:0066fc18 EBP:0066fc38 EFLAGS:00010246(   - 00  -RIZP1)
 EAX: EBX:7bc89444 ECX: EDX:
 ESI: EDI:
Stack dump:
0x0066fc18:   7bc68b4d  0066fc48
0x0066fc28:  0002  7bc68b39 0066fe68
0x0066fc38:  0066fc68 6bfcf498  001ed5c0
0x0066fc48:  66304430 0066fe68 00132a48 0001
0x0066fc58:  0066fc78 0066fe68 00132a48 0001
0x0066fc68:  0066fc78 6bfcf4b9  
Backtrace:
=>1 0xf7566110 in libc.so.6 (+0x74110) (0x0066fc38)
  2 0x6bfcf498 in libguile-17 (+0x4f498) (0x0066fc68)
  3 0x6bfcf4b9 in libguile-17 (+0x4f4b9) (0x0066fc78)
  4 0x66305913 in libgeda-38 (+0x5913) (0x0066fc88)
  5 0x66306daa in libgeda-38 (+0x6daa) (0x0066fc98)
  6 0x00408a02 in gschem (+0x8a02) (0x0066fcd8)
  7 0x6bfad09a in libguile-17 (+0x2d09a) (0x0066fcf8)
  8 0x6bf84af2 in libguile-17 (+0x4af2) (0x0066fd08)
  9 0x6bfe84f2 in libguile-17 (+0x684f2) (0x0066fd88)
  10 0x6bf84f26 in libguile-17 (+0x4f26) (0x0066fdd8)
  11 0x6bf84fc1 in libguile-17 (+0x4fc1) (0x0066fe08)
  12 0x6bfe6c5b in libguile-17 (+0x66c5b) (0x0066fe38)
  13 0x6bfe6ca1 in libguile-17 (+0x66ca1) (0x0066fe58)
  14 0x6bfad041 in libguile-17 (+0x2d041) (0x0066fe78)
  15 0x004088bb in gschem (+0x88bb) (0x0066fea8)
  16 0x004010a7 in gschem (+0x10a7) (0x0066fee8)
  17 0x00401143 in gschem (+0x1143) (0x0066ff08)
  18 0x7b8783a8 in kernel32 (+0x583a8) (0x0066ffe8)
0xf7566110: pcmpeqb 0x0(%esi),%mm0
Modules:
Module  Address Debug info  Name (117 modules)
PE24-  2ba000   Deferredlibpixman-1-0
PE40-  461000   Export  gschem
PE67-  a6b000   Deferredlibgtk-win32-2.0-0
PE  61a0-61a34000   Deferredlibpng14-14
PE  61cc-61cda000   Deferredlibintl-8
PE  6294-6296b000   Deferredlibatk-1.0-0
PE  63a4-63a87000   Deferredlibgobject-2.0-0
PE  650c-6515   Deferredlibfreetype-6
PE  6534-65384000   Deferredlibgdk_pixbuf-2.0-0
PE  6558-655cd000   Deferredlibpango-1.0-0
PE  65c4-65c52000   Deferredlibgthread-2.0-0
PE  6600-660f1000   Deferredlibiconv-2
PE  6630-66336000   Export  libgeda-38
PE  6660-5000   Deferredlibtiff-3
PE  685c-686cc000   Deferredlibglib-2.0-0
PE  6890-68949000   Deferredlibjpeg-7
PE  68a8-68ace000   Deferredlibgmp-3
PE  68dc-68e7   Deferredlibcairo-2
PE  6b28-6b29a000   Deferredlibpangowin32-1.0-0
PE  6bf8-6c03a000   Export  libguile-17
PE  6c34-6c3f1000   Deferredlibgdk-win32-2.0-0
PE  6d48-6d494000   Deferredlibltdl-7
PE  6d4c-6d4d5000   Deferredlibpangocairo-1.0-0
PE  6d58-6d60a000   Deferredlibgio-2.0-0
PE  6dd0-6dd11000   Deferredlibgmodule-2.0-0
PE  6e8c-6e8df000   Deferredlibz
PE  7104-71059000   Deferredlibgnurx-0
ELF 7b80-7b939000   Export  kernel32
  \-PE  7b82-7b939000   \