[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-user: crosscompile for windows with minipack
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 0x00000000 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 0x00000000 at address 0xf7566110 (thread 0009),
starting debugger...
Unhandled exception: page fault on read access to 0x00000000 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:00000000 EBX:7bc89444 ECX:00000000 EDX:00000000
ESI:00000000 EDI:00000000
Stack dump:
0x0066fc18: ffffffff 7bc68b4d 00000000 0066fc48
0x0066fc28: 00000002 00000000 7bc68b39 0066fe68
0x0066fc38: 0066fc68 6bfcf498 00000000 001ed5c0
0x0066fc48: 66304430 0066fe68 00132a48 00000001
0x0066fc58: 0066fc78 0066fe68 00132a48 00000001
0x0066fc68: 0066fc78 6bfcf4b9 00000000 ffffffff
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)
PE 240000- 2ba000 Deferred libpixman-1-0
PE 400000- 461000 Export gschem
PE 670000- a6b000 Deferred libgtk-win32-2.0-0
PE 61a00000-61a34000 Deferred libpng14-14
PE 61cc0000-61cda000 Deferred libintl-8
PE 62940000-6296b000 Deferred libatk-1.0-0
PE 63a40000-63a87000 Deferred libgobject-2.0-0
PE 650c0000-65150000 Deferred libfreetype-6
PE 65340000-65384000 Deferred libgdk_pixbuf-2.0-0
PE 65580000-655cd000 Deferred libpango-1.0-0
PE 65c40000-65c52000 Deferred libgthread-2.0-0
PE 66000000-660f1000 Deferred libiconv-2
PE 66300000-66336000 Export libgeda-38
PE 66600000-66665000 Deferred libtiff-3
PE 685c0000-686cc000 Deferred libglib-2.0-0
PE 68900000-68949000 Deferred libjpeg-7
PE 68a80000-68ace000 Deferred libgmp-3
PE 68dc0000-68e70000 Deferred libcairo-2
PE 6b280000-6b29a000 Deferred libpangowin32-1.0-0
PE 6bf80000-6c03a000 Export libguile-17
PE 6c340000-6c3f1000 Deferred libgdk-win32-2.0-0
PE 6d480000-6d494000 Deferred libltdl-7
PE 6d4c0000-6d4d5000 Deferred libpangocairo-1.0-0
PE 6d580000-6d60a000 Deferred libgio-2.0-0
PE 6dd00000-6dd11000 Deferred libgmodule-2.0-0
PE 6e8c0000-6e8df000 Deferred libz
PE 71040000-71059000 Deferred libgnurx-0
ELF 7b800000-7b939000 Export kernel32<elf>
\-PE 7b820000-7b939000 \ kernel32
ELF 7bc00000-7bca5000 Deferred ntdll<elf>
\-PE 7bc10000-7bca5000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7dd53000-7dd5d000 Deferred libnss_nis.so.2
ELF 7dd5d000-7dd74000 Deferred libnsl.so.1
ELF 7dd74000-7dd7c000 Deferred libnss_compat.so.2
ELF 7dd7c000-7dd85000 Deferred librt.so.1
ELF 7dd85000-7ddbf000 Deferred libdbus-1.so.3
ELF 7ddbf000-7ddc3000 Deferred libgpg-error.so.0
ELF 7ddc3000-7ddd3000 Deferred libtasn1.so.3
ELF 7ddd3000-7dde3000 Deferred libavahi-client.so.3
ELF 7dde3000-7de57000 Deferred libgcrypt.so.11
ELF 7de57000-7deef000 Deferred libgnutls.so.26
ELF 7deef000-7df12000 Deferred libk5crypto.so.3
ELF 7df12000-7dfc4000 Deferred libkrb5.so.3
ELF 7dfc4000-7dff3000 Deferred libgssapi_krb5.so.2
ELF 7dff3000-7e03e000 Deferred libcups.so.2
ELF 7e132000-7e164000 Deferred uxtheme<elf>
\-PE 7e140000-7e164000 \ uxtheme
ELF 7e164000-7e16d000 Deferred libxcursor.so.1
ELF 7e16d000-7e172000 Deferred libxfixes.so.3
ELF 7e172000-7e175000 Deferred libxcomposite.so.1
ELF 7e175000-7e17c000 Deferred libxrandr.so.2
ELF 7e17c000-7e185000 Deferred libxrender.so.1
ELF 7e185000-7e188000 Deferred libxinerama.so.1
ELF 7e188000-7e194000 Deferred libnss_files.so.2
ELF 7e194000-7e199000 Deferred libxdmcp.so.6
ELF 7e199000-7e19c000 Deferred libxau.so.6
ELF 7e19c000-7e1b5000 Deferred libxcb.so.1
ELF 7e1b5000-7e1b9000 Deferred libuuid.so.1
ELF 7e1b9000-7e2d6000 Deferred libx11.so.6
ELF 7e2d6000-7e2e5000 Deferred libxext.so.6
ELF 7e2e5000-7e2fc000 Deferred libice.so.6
ELF 7e2fc000-7e304000 Deferred libsm.so.6
ELF 7e305000-7e308000 Deferred libkeyutils.so.1
ELF 7e308000-7e30f000 Deferred libkrb5support.so.0
ELF 7e30f000-7e31b000 Deferred libavahi-common.so.3
ELF 7e31b000-7e31e000 Deferred libcom_err.so.2
ELF 7e31e000-7e3b6000 Deferred winex11<elf>
\-PE 7e330000-7e3b6000 \ winex11
ELF 7e3e5000-7e40b000 Deferred libexpat.so.1
ELF 7e40b000-7e43a000 Deferred libfontconfig.so.1
ELF 7e43a000-7e44e000 Deferred libz.so.1
ELF 7e44e000-7e4c5000 Deferred libfreetype.so.6
ELF 7e4c5000-7e4ca000 Deferred libxxf86vm.so.1
ELF 7e4df000-7e515000 Deferred winspool<elf>
\-PE 7e4f0000-7e515000 \ winspool
ELF 7e515000-7e5c1000 Deferred comdlg32<elf>
\-PE 7e520000-7e5c1000 \ comdlg32
ELF 7e5c1000-7e5d9000 Deferred usp10<elf>
\-PE 7e5d0000-7e5d9000 \ usp10
ELF 7e5d9000-7e5f9000 Deferred imm32<elf>
\-PE 7e5e0000-7e5f9000 \ imm32
ELF 7e5f9000-7e61f000 Deferred netapi32<elf>
\-PE 7e600000-7e61f000 \ netapi32
ELF 7e61f000-7e63c000 Deferred dnsapi<elf>
\-PE 7e630000-7e63c000 \ dnsapi
ELF 7e63c000-7e667000 Deferred ws2_32<elf>
\-PE 7e640000-7e667000 \ ws2_32
ELF 7e667000-7e728000 Deferred comctl32<elf>
\-PE 7e670000-7e728000 \ comctl32
ELF 7e728000-7e781000 Deferred shlwapi<elf>
\-PE 7e740000-7e781000 \ shlwapi
ELF 7e781000-7e893000 Deferred shell32<elf>
\-PE 7e790000-7e893000 \ shell32
ELF 7e893000-7e8a7000 Deferred libresolv.so.2
ELF 7e8a7000-7e8c5000 Deferred iphlpapi<elf>
\-PE 7e8b0000-7e8c5000 \ iphlpapi
ELF 7e8c5000-7e927000 Deferred rpcrt4<elf>
\-PE 7e8d0000-7e927000 \ rpcrt4
ELF 7e927000-7e9ca000 Deferred ole32<elf>
\-PE 7e940000-7e9ca000 \ ole32
ELF 7e9ca000-7ea1b000 Deferred advapi32<elf>
\-PE 7e9e0000-7ea1b000 \ advapi32
ELF 7ea1b000-7eab9000 Deferred gdi32<elf>
\-PE 7ea30000-7eab9000 \ gdi32
ELF 7eab9000-7ec03000 Deferred user32<elf>
\-PE 7ead0000-7ec03000 \ user32
ELF 7ec03000-7ec6d000 Deferred msvcrt<elf>
\-PE 7ec10000-7ec6d000 \ msvcrt
ELF 7efc0000-7efe6000 Deferred libm.so.6
ELF 7efed000-7f000000 Deferred msimg32<elf>
\-PE 7eff0000-7f000000 \ msimg32
ELF f74ee000-f74f2000 Deferred libdl.so.2
ELF f74f2000-f7639000 Export libc.so.6
ELF f763a000-f7653000 Deferred libpthread.so.0
ELF f7653000-f7789000 Deferred libwine.so.1
ELF f77a5000-f77c3000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\usr\local\src\pcb\pcb-for-windows\minipack\result\bin\gschem.exe
00000009 0 <==
0000000c
00000015 0
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000014 0
00000011 0
00000010 0
00000017
00000018 0
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)
-----------------------------------------------------
Any hint?
---<)kaimartin(>---
--
Kai-Martin Knaak
Email: kmk@xxxxxxxxxxxxxxx
Ãffentlicher PGP-SchlÃssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user