1.3 native functors on WinXP
Jorge M. Pelizzoni
jorgemp at icmc.usp.br
Wed Apr 28 16:27:33 CEST 2004
Here is a code snippet demonstrating the problem, i.e, any gump scanner
definition whatsoever. What I get on my computer is the following error
msgs:
TestScanner.o(.text+0x69a):TestScanner.C: undefined reference to
`___gxx_personality_sj0'
TestScanner.o(.text+0x76c):TestScanner.C: undefined reference to
`___gxx_personality_sj0'
TestScanner.o(.text+0x83e):TestScanner.C: undefined reference to
`___gxx_personality_sj0'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/l
ibstdc++.a(new_opv.o)(.text$_Znaj+0x1b): undefined reference to
`__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/l
ibstdc++.a(new_op.o)(.text$_Znwj+0x98): undefined reference to
`__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/l
ibstdc++.a(eh_personality.o)(.text$__cxa_call_unexpected+0xe8):
undefined reference to `__Unwind_Resume'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/l
ibstdc++.a(eh_throw.o)(.text$__cxa_throw+0x54): undefined reference to
`__Unwind_RaiseException'
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/l
ibstdc++.a(eh_throw.o)(.text$__cxa_rethrow+0x1b): undefined reference to
`__Unwind_RaiseException'
collect2: ld returned 1 exit status
*** error: oztool aborted with code 1
%************************** system error ************************
%**
%** invocation of oztool failed
%**
%** Command: oztool ld -o TestScanner.so-win32-i486 TestScanner.o
%** Exit code: 1
%** ------------------ rejected (1 error)
-------------------------------------------------------------------
Yes, I refer to Duchier's selection constraints. Is that "portability"
issue likely to be fixed?
Cheers,
Jorge.
> -----Original Message-----
> From: mozart-users-bounces at ps.uni-sb.de [mailto:mozart-users-
> bounces at ps.uni-sb.de] On Behalf Of Thorsten Brunklaus
> Sent: Tuesday, April 27, 2004 3:23 AM
> To: users at mozart-oz.org
> Subject: Re: 1.3 native functors on WinXP
>
> Hi,
>
> since Mozart 1.3.0 is build with gcc 3 (3.3.1), it requires the native
> build to be done using
> gcc 3.
>
> Yes, we were able to build native functors (e.g. Gtk Binding).
>
> If by select package you refer to Denys Duchier selection constraints,
it
> is known
> that they currently cannot be linked (missing symbols) on Windows and
> 1.3.0.
>
> Problems with the gump package are new to me. What exactly is your
> problem? Do you
> have a small code snippet demonstrating the problem?
>
> Cheers,
> Thorsten.
> ----- Original Message -----
> From: "Jorge M. Pelizzoni" <jorgemp at icmc.usp.br>
> Newsgroups: mozart-oz.users
> To: <users at mozart-oz.org>
> Sent: Monday, April 26, 2004 10:18 PM
> Subject: 1.3 native functors on WinXP
>
>
> > Hi, all! Has any WinXP user out there been able to generate native
> > functors for Oz 1.3? The problem is that, since I moved to Oz
version
> > 1.3, I am striving to install the Select Package and compile a gump
> > scanner and haven't succeeded so far.
> >
> > Right from the start, my good old compilation procedure for version
> > 1.2.5 wouldn't work anymore. Then I tried upgrading my cygwin
gcc/g++,
> > which is now version 3.3.1. But then I started receiving undefined
> > reference errors...
> >
> > To the fortunate ones who have succeeded, which version of gcc/g++
are
> > you using? Any other valuable experience to share?
> >
> > Thanks in advance. Cheers,
> >
> > Jorge.
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.619 / Virus Database: 398 - Release Date: 10/3/2004
> >
> >
> _______________________________________________
> mozart-users mailing list
> mozart-users at ps.uni-sb.de
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.619 / Virus Database: 398 - Release Date: 10/3/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.619 / Virus Database: 398 - Release Date: 10/3/2004
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanner.ozg
Type: application/octet-stream
Size: 364 bytes
Desc: not available
Url : http://lists.gforge.info.ucl.ac.be/pipermail/mozart-users/attachments/20040428/015b8b91/scanner.obj
More information about the mozart-users
mailing list