Sergey Ryabinin via oi-dev | 13 Jun 21:48 2016

zfs-io-priority

Hi All!
Valid if such mistake ?

root <at> oi-t:~# zonecfg -z wp
zonecfg:wp> set zfs-io-priority=100
syntax error at '='
commands:

add <resource-type>
(global scope)
add <property-name> <property-value>
(resource scope)
cancel
clear <property-name>
commit
create [-f] [ -a <path> | -b | -t <template> ]
delete [-f]
end
exit [-f]
export [-f output-file]
help [commands] [syntax] [usage] [<command-name>]
info [<resource-type> [property-name=property-value]*]
remove [-f] <resource-type> [ <property-name>=<property-value> ]*
(global scope)
remove <property-name> <property-value>
(resource scope)
revert [-f]
select <resource-type> { <property-name>=<property-value> }
set <property-name>=<property-value>
verify
(Continue reading)

Nikola M | 8 Jun 12:37 2016
Picon

Testing request for firefox <at> 45.2.0

Testing requiest for
pkg://userland/web/browser/firefox <at> 45.2.0,5.11-2016.0.0.0:20160608T095701Z
has been received.

See at Wiki page:
http://wiki.openindiana.org/oi/Testing+packages+by+using+local+per-package+mirror
for testing procedure using local per-package mirror.

Make sure you create backup BE without new publisher, you can come back to after testing.

Alternatively doing per-package testing, one can temporarely add http://buildzone.oi-build.r61.net:1000/ userland publisher,
but I think that per-package testing is more precise.

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
mlist_brigar via oi-dev | 7 Jun 23:36 2016

how to reg wiki.openindiana.org ?

Hi all!

How to reg wiki.openindiana.org ?
I would like to participate, and it is possible to make a small
contribution.
bentahyr | 25 May 00:00 2016

Re: Wine 1.9.10 : compilation trial

Thanks for the link but DirectX installation went fine, and since 2010, winetricks appeared and helped to
automate quite a lot of these tiedous tasks.

What I had no luck with is that with or without DirectX native implementation, I have the same memory error.
I'll keep that under the hood when have some time amd try to see with the Wine guys if we can get it to work.

As it used to work on opensolaris, I though it should work but I tried wine 1.7.7 on OI151a9 and if it doesn't
expose the same issue, it doesn't render (this is a very quick test with a very limited number of software so
someone might have different results).

Just as a ref, wine is quite used to have access to proprietary music software and one may want to use it for
picture/photo manipulation software as well (I known, I kind of lost my sense of humor lately but I'm
working on it).

I personally use wine for Win32 legacy software so I'm glad with the current situation but I'd like to
propose a complete solution. I'm running out of time regarding this so I'll pile it up with the other things
I would like to port/package to OI.

Best regards.
Ben

On Tue, May 24, 2016 at 11:37:41AM +0000, ken mays via oi-dev wrote:
> Ben,
> Read this: http://www.dedoimedo.com/games/wine-directx.html
> 
> 
> 
> Ken 
> 
> 
> 
> 
> On Tuesday, May 24, 2016 12:15 AM, Alexander Pyhalov <alp <at> rsu.ru> wrote:
> On 05/24/2016 08:27, bentahyr <at> chez.com wrote:
> > After a few tests it appears that every 3d stuff do not run.
> > I tried a few Windows Application (SumatraPDF, LibreOffice 4.4.2.2,
> > other minor application) and when I switched to some DirectX things, it
> > crashes with error :
> > fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled
> > (0) : fatal error C9008: out of memory - malloc failed
> > Cg compiler terminated due to fatal error
> >
> > I tried to install DX9 using winetricks but no luck.
> >
> > OpenGL works fine on the test machine as glxgear does work and various
> > webgl demos on firefox work as well.
> >
> > I will check if I need to specify some configure switches later on.
> > 2D stuff seems ok so far.
> >
> 
> Yes, last time I've compiled wine on OI it was useless for directx 
> games. And why else do you need wine? :)
> -- 
> Best regards,
> Alexander Pyhalov,
> system administrator of Southern Federal University IT department
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev <at> openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev <at> openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
Adam Števko | 24 May 13:03 2016
Picon

Vagrant

Hello guys,

while working on OI infra I came across a need to rapidly provision OI hipster boxes. 

I'd be interested in how many people actually use vagrant and would do on Oi hipster. If there is enough
interest, I might package it and bring it to Oi. I'll also need testers. We will be able to build VirtualBox
base boxes only (I don't use vmware on OS X).

I'll also start producing official OI vagrant boxes.

Let me know the interest in the package and how many people are to help test vagrant on Oi.

Cheers,
Adam
bentahyr | 24 May 02:25 2016

Re: Wine 1.9.10 : compilation trial

Yes, you're right...
I was reading what I sent and realized that I may have redefined gregs being regs.
Then I read your mail.

Ok... here is the state :
[...]
gmake[1]: Leaving directory '/home/ben/tmp/wine-1.9.10/programs/winetest'
Wine build complete.

Cool,

To sum up
$ ./configure CFLAGS="-std=gnu99" CXXFLAGS="-std=gnu99"
Patch dlls/ntdll/signal_i386.c to add
#if defined(__sun) && defined(__SVR4)
#include <sys/regset.h>
#endif
$ gmake -j8
Et voila!!

I'm running gmake test and will test a few software.
But it already made my day.

Thanks for your help
Did I say "Cool!!" ?

Best regards.
Ben

On Tue, May 24, 2016 at 01:45:41AM +0200, Aurélien Larcher wrote:
>    On Tue, May 24, 2016 at 1:27 AM, <[1]bentahyr <at> chez.com> wrote:
> 
>      Ok, good one...
>      The regset.h was the reason for this one :
>      #ifdef _SCO_DS
>      #include <sys/regset.h>
>      #define gregs regs
>      #endif
> 
>      I'm not sure how in wine's world you define you're on OI/Solaris, but
>      for the sake of trial, I just put the include and define out the ifdef
>      block.
> 
>    The correct conditional for Solaris/illumos is:
> 
>    #if defined(__sun) && defined(__SVR4)
>    #include <sys/regset.h>
>    #endif
>     
> 
>      So I go a little bit further away :
>      $ gmake 2>&1 | head
>      gcc -c -o signal_i386.o signal_i386.c -I. -I../../include -D__WINESRC__
>      -D_NTSYSTEM_ -D_REENTRANT -fPIC \
>        -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
>      -Wempty-body -Wignored-qualifiers \
>        -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla
>      -Wwrite-strings -Wpointer-arith \
>        -Wlogical-op -fno-omit-frame-pointer -std=gnu99
>      signal_i386.c: In function ‘get_trap_code’:
>      signal_i386.c:362:54: error: ‘mcontext_t’ has no member named ‘regs’
>       #define TRAP_sig(context)     ((context)->uc_mcontext.gregs[TRAPNO])
>                                                            ^
>      signal_i386.c:564:12: note: in expansion of macro ‘TRAP_sig’
>           return TRAP_sig(sigcontext);
> 
>      I checked and the ucontext.h is included but it is true that
>      sys/mcontext.h doesn't export any regs attribute/member for mcontext_t.
>      I just wonder why it wants to find a member named ‘regs’ in
>      uc_mcontext.gregs, shouldn't it be a gregs member?
> 
>    You just wrote "I just put the include *and* define out the ifdef" so that
>    "gregs" is "regs" *kaboom* :P
>    Put the include only without define as I wrote.
>     
> 
>      Best regards.
>      Ben
> 
>      On Mon, May 23, 2016 at 11:44:46PM +0200, Thomas Wagner wrote:
>      > Ben,
>      >
>      > I took this as a trigger and had a look at wine 1.9.10 in SFE.
>      >
>      > The tricky part has been a missing symbol export in "port.o",
>      > but I got it right after some testing with compiler options.
>      >
>      > At the moment the final compile is running and if the result is
>      > at least a little bit usable, I'll push that into SVN.
>      > After a while the automatic builds should pick it up.
>      >
>      > I'll let you know if this attempt has been successful.
>      >
>      > In the upcoming SVN commit for SFEwine.spec you can see
>      > what I did to compile wine.
>      >
>      > Regards,
>      > Tom
>      >
>      > On Mon, May 23, 2016 at 09:40:22AM +0000, Aur?lien Larcher wrote:
>      > > Illumos changed inclusion of regset.h some months ago.
>      > > You need to include sys/regset.h
>      > >
>      > >
>      > > À lun. mai 23 04:25:12 2016 GMT+0200, [2]bentahyr <at> chez.com a écrit
>      :
>      > > > Hi
>      > > > I have a bit of free time today and thought I could give wine
>      compilation a go.
>      > > >
>      > > > configure stage is ok
>      > > > I need to add the -std=gnu99  to C(XX)FLAGS to pass first error
>      then unfortunately it fails a lot later with the following error :
>      > > >
>      > > > gmake[1]: Entering directory
>      '/home/franck/tmp/wine-1.9.10/dlls/ntdll'
>      > > > gcc -c -o signal_i386.o signal_i386.c -I. -I../../include
>      -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC \
>      > > >   -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
>      -Wempty-body -Wignored-qualifiers \
>      > > >   -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter
>      -Wvla -Wwrite-strings -Wpointer-arith \
>      > > >   -Wlogical-op -fno-omit-frame-pointer -std=gnu99
>      > > > In file included from signal_i386.c:60:0:
>      > > > signal_i386.c: In function 'init_handler':
>      > > > signal_i386.c:342:60: error: 'FS' undeclared (first use in this
>      function)
>      > > >  #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:965:18: note: in expansion of macro 'FS_sig'
>      > > >      *fs = LOWORD(FS_sig(sigcontext));
>      > > >                   ^
>      > > > signal_i386.c:342:60: note: each undeclared identifier is reported
>      only once for each function it appears in
>      > > >  #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:965:18: note: in expansion of macro 'FS_sig'
>      > > >      *fs = LOWORD(FS_sig(sigcontext));
>      > > >                   ^
>      > > > signal_i386.c:343:60: error: 'GS' undeclared (first use in this
>      function)
>      > > >  #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:970:18: note: in expansion of macro 'GS_sig'
>      > > >      *gs = LOWORD(GS_sig(sigcontext));
>      > > >                   ^
>      > > > signal_i386.c:337:60: error: 'CS' undeclared (first use in this
>      function)
>      > > >  #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
>      > > >                                                             ^
>      > > > signal_i386.c:983:29: note: in expansion of macro 'CS_sig'
>      > > >      if (!wine_ldt_is_system(CS_sig(sigcontext)) ||
>      > > >                              ^
>      > > > signal_i386.c:340:60: error: 'SS' undeclared (first use in this
>      function)
>      > > >  #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
>      > > >                                                             ^
>      > > > signal_i386.c:984:29: note: in expansion of macro 'SS_sig'
>      > > >          !wine_ldt_is_system(SS_sig(sigcontext)))  /* 16-bit mode
>      */
>      > > >                              ^
>      > > > signal_i386.c:353:60: error: 'ESP' undeclared (first use in this
>      function)
>      > > >  #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
>      > > >                                                             ^
>      > > > signal_i386.c:995:21: note: in expansion of macro 'ESP_sig'
>      > > >      return (void *)(ESP_sig(sigcontext) & ~3);
>      > > >                      ^
>      > > > signal_i386.c: In function 'save_context':
>      > > > signal_i386.c:329:60: error: 'EAX' undeclared (first use in this
>      function)
>      > > >  #define EAX_sig(context)     ((context)->uc_mcontext.gregs[EAX])
>      > > >                                                             ^
>      > > > signal_i386.c:1108:29: note: in expansion of macro 'EAX_sig'
>      > > >      context->Eax          = EAX_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:330:60: error: 'EBX' undeclared (first use in this
>      function)
>      > > >  #define EBX_sig(context)     ((context)->uc_mcontext.gregs[EBX])
>      > > >                                                             ^
>      > > > signal_i386.c:1109:29: note: in expansion of macro 'EBX_sig'
>      > > >      context->Ebx          = EBX_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:331:60: error: 'ECX' undeclared (first use in this
>      function)
>      > > >  #define ECX_sig(context)     ((context)->uc_mcontext.gregs[ECX])
>      > > >                                                             ^
>      > > > signal_i386.c:1110:29: note: in expansion of macro 'ECX_sig'
>      > > >      context->Ecx          = ECX_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:332:60: error: 'EDX' undeclared (first use in this
>      function)
>      > > >  #define EDX_sig(context)     ((context)->uc_mcontext.gregs[EDX])
>      > > >                                                             ^
>      > > > signal_i386.c:1111:29: note: in expansion of macro 'EDX_sig'
>      > > >      context->Edx          = EDX_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:333:60: error: 'ESI' undeclared (first use in this
>      function)
>      > > >  #define ESI_sig(context)     ((context)->uc_mcontext.gregs[ESI])
>      > > >                                                             ^
>      > > > signal_i386.c:1112:29: note: in expansion of macro 'ESI_sig'
>      > > >      context->Esi          = ESI_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:334:60: error: 'EDI' undeclared (first use in this
>      function)
>      > > >  #define EDI_sig(context)     ((context)->uc_mcontext.gregs[EDI])
>      > > >                                                             ^
>      > > > signal_i386.c:1113:29: note: in expansion of macro 'EDI_sig'
>      > > >      context->Edi          = EDI_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:335:60: error: 'EBP' undeclared (first use in this
>      function)
>      > > >  #define EBP_sig(context)     ((context)->uc_mcontext.gregs[EBP])
>      > > >                                                             ^
>      > > > signal_i386.c:1114:29: note: in expansion of macro 'EBP_sig'
>      > > >      context->Ebp          = EBP_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:345:60: error: 'EFL' undeclared (first use in this
>      function)
>      > > >  #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
>      > > >                                                             ^
>      > > > signal_i386.c:1115:29: note: in expansion of macro 'EFL_sig'
>      > > >      context->EFlags       = EFL_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:347:60: error: 'EIP' undeclared (first use in this
>      function)
>      > > >  #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
>      > > >                                                             ^
>      > > > signal_i386.c:1116:29: note: in expansion of macro 'EIP_sig'
>      > > >      context->Eip          = EIP_sig(sigcontext);
>      > > >                              ^
>      > > > signal_i386.c:353:60: error: 'ESP' undeclared (first use in this
>      function)
>      > > >  #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
>      > > >                                                             ^
>      > > > signal_i386.c:1117:29: note: in expansion of macro 'ESP_sig'
>      > > >      context->Esp          = ESP_sig(sigcontext);
>      > > >                              ^
>      > > > In file included from signal_i386.c:60:0:
>      > > > signal_i386.c:337:60: error: 'CS' undeclared (first use in this
>      function)
>      > > >  #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
>      > > >                                                             ^
>      > > > signal_i386.c:1118:29: note: in expansion of macro 'LOWORD'
>      > > >      context->SegCs        = LOWORD(CS_sig(sigcontext));
>      > > >                              ^
>      > > > signal_i386.c:1118:36: note: in expansion of macro 'CS_sig'
>      > > >      context->SegCs        = LOWORD(CS_sig(sigcontext));
>      > > >                                     ^
>      > > > signal_i386.c:338:60: error: 'DS' undeclared (first use in this
>      function)
>      > > >  #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:1119:36: note: in expansion of macro 'DS_sig'
>      > > >      context->SegDs        = LOWORD(DS_sig(sigcontext));
>      > > >                                     ^
>      > > > signal_i386.c:339:60: error: 'ES' undeclared (first use in this
>      function)
>      > > >  #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:1120:36: note: in expansion of macro 'ES_sig'
>      > > >      context->SegEs        = LOWORD(ES_sig(sigcontext));
>      > > >                                     ^
>      > > > signal_i386.c:340:60: error: 'SS' undeclared (first use in this
>      function)
>      > > >  #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
>      > > >                                                             ^
>      > > > ../../include/windef.h:337:52: note: in definition of macro
>      'LOWORD'
>      > > >  #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
>      > > >                                                     ^
>      > > > signal_i386.c:1123:36: note: in expansion of macro 'SS_sig'
>      > > >      context->SegSs        = LOWORD(SS_sig(sigcontext));
>      > > >                                     ^
>      > > > signal_i386.c: In function 'restore_context':
>      > > > signal_i386.c:329:60: error: 'EAX' undeclared (first use in this
>      function)
>      > > >  #define EAX_sig(context)     ((context)->uc_mcontext.gregs[EAX])
>      > > >                                                             ^
>      > > > signal_i386.c:1164:5: note: in expansion of macro 'EAX_sig'
>      > > >      EAX_sig(sigcontext) = context->Eax;
>      > > >      ^
>      > > > signal_i386.c:330:60: error: 'EBX' undeclared (first use in this
>      function)
>      > > >  #define EBX_sig(context)     ((context)->uc_mcontext.gregs[EBX])
>      > > >                                                             ^
>      > > > signal_i386.c:1165:5: note: in expansion of macro 'EBX_sig'
>      > > >      EBX_sig(sigcontext) = context->Ebx;
>      > > >      ^
>      > > > signal_i386.c:331:60: error: 'ECX' undeclared (first use in this
>      function)
>      > > >  #define ECX_sig(context)     ((context)->uc_mcontext.gregs[ECX])
>      > > >                                                             ^
>      > > > signal_i386.c:1166:5: note: in expansion of macro 'ECX_sig'
>      > > >      ECX_sig(sigcontext) = context->Ecx;
>      > > >      ^
>      > > > signal_i386.c:332:60: error: 'EDX' undeclared (first use in this
>      function)
>      > > >  #define EDX_sig(context)     ((context)->uc_mcontext.gregs[EDX])
>      > > >                                                             ^
>      > > > signal_i386.c:1167:5: note: in expansion of macro 'EDX_sig'
>      > > >      EDX_sig(sigcontext) = context->Edx;
>      > > >      ^
>      > > > signal_i386.c:333:60: error: 'ESI' undeclared (first use in this
>      function)
>      > > >  #define ESI_sig(context)     ((context)->uc_mcontext.gregs[ESI])
>      > > >                                                             ^
>      > > > signal_i386.c:1168:5: note: in expansion of macro 'ESI_sig'
>      > > >      ESI_sig(sigcontext) = context->Esi;
>      > > >      ^
>      > > > signal_i386.c:334:60: error: 'EDI' undeclared (first use in this
>      function)
>      > > >  #define EDI_sig(context)     ((context)->uc_mcontext.gregs[EDI])
>      > > >                                                             ^
>      > > > signal_i386.c:1169:5: note: in expansion of macro 'EDI_sig'
>      > > >      EDI_sig(sigcontext) = context->Edi;
>      > > >      ^
>      > > > signal_i386.c:335:60: error: 'EBP' undeclared (first use in this
>      function)
>      > > >  #define EBP_sig(context)     ((context)->uc_mcontext.gregs[EBP])
>      > > >                                                             ^
>      > > > signal_i386.c:1170:5: note: in expansion of macro 'EBP_sig'
>      > > >      EBP_sig(sigcontext) = context->Ebp;
>      > > >      ^
>      > > > signal_i386.c:345:60: error: 'EFL' undeclared (first use in this
>      function)
>      > > >  #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
>      > > >                                                             ^
>      > > > signal_i386.c:1171:5: note: in expansion of macro 'EFL_sig'
>      > > >      EFL_sig(sigcontext) = context->EFlags;
>      > > >      ^
>      > > > signal_i386.c:347:60: error: 'EIP' undeclared (first use in this
>      function)
>      > > >  #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
>      > > >                                                             ^
>      > > > signal_i386.c:1172:5: note: in expansion of macro 'EIP_sig'
>      > > >      EIP_sig(sigcontext) = context->Eip;
>      > > >      ^
>      > > > signal_i386.c:353:60: error: 'ESP' undeclared (first use in this
>      function)
>      > > >  #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
>      > > >                                                             ^
>      > > > signal_i386.c:1173:5: note: in expansion of macro 'ESP_sig'
>      > > >      ESP_sig(sigcontext) = context->Esp;
>      > > >      ^
>      > > > signal_i386.c:337:60: error: 'CS' undeclared (first use in this
>      function)
>      > > >  #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
>      > > >                                                             ^
>      > > > signal_i386.c:1174:5: note: in expansion of macro 'CS_sig'
>      > > >      CS_sig(sigcontext)  = context->SegCs;
>      > > >      ^
>      > > > signal_i386.c:338:60: error: 'DS' undeclared (first use in this
>      function)
>      > > >  #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
>      > > >                                                             ^
>      > > > signal_i386.c:1175:5: note: in expansion of macro 'DS_sig'
>      > > >      DS_sig(sigcontext)  = context->SegDs;
>      > > >      ^
>      > > > signal_i386.c:339:60: error: 'ES' undeclared (first use in this
>      function)
>      > > >  #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
>      > > >                                                             ^
>      > > > signal_i386.c:1176:5: note: in expansion of macro 'ES_sig'
>      > > >      ES_sig(sigcontext)  = context->SegEs;
>      > > >      ^
>      > > > signal_i386.c:340:60: error: 'SS' undeclared (first use in this
>      function)
>      > > >  #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
>      > > >                                                             ^
>      > > > signal_i386.c:1177:5: note: in expansion of macro 'SS_sig'
>      > > >      SS_sig(sigcontext)  = context->SegSs;
>      > > >      ^
>      > > > signal_i386.c:343:60: error: 'GS' undeclared (first use in this
>      function)
>      > > >  #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
>      > > >                                                             ^
>      > > > signal_i386.c:1179:5: note: in expansion of macro 'GS_sig'
>      > > >      GS_sig(sigcontext)  = context->SegGs;
>      > > >      ^
>      > > > signal_i386.c:342:60: error: 'FS' undeclared (first use in this
>      function)
>      > > >  #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
>      > > >                                                             ^
>      > > > signal_i386.c:1184:5: note: in expansion of macro 'FS_sig'
>      > > >      FS_sig(sigcontext)  = context->SegFs;
>      > > >      ^
>      > > > In file included from signal_i386.c:64:0:
>      > > > signal_i386.c: In function 'setup_exception_record':
>      > > > signal_i386.c:347:60: error: 'EIP' undeclared (first use in this
>      function)
>      > > >  #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
>      > > >                                                             ^
>      > > > ../../include/wine/debug.h:91:49: note: in definition of macro
>      '__WINE_DBG_LOG'
>      > > >      wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } }
>      while(0)
>      > > >                                                  ^
>      > > > signal_i386.c:1775:56: note: in expansion of macro 'EIP_sig'
>      > > >                    GetCurrentThreadId(), (unsigned int)
>      EIP_sig(sigcontext),
>      > > >                                                         ^
>      > > > signal_i386.c:353:60: error: 'ESP' undeclared (first use in this
>      function)
>      > > >  #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
>      > > >                                                             ^
>      > > > ../../include/wine/debug.h:91:49: note: in definition of macro
>      '__WINE_DBG_LOG'
>      > > >      wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } }
>      while(0)
>      > > >                                                  ^
>      > > > signal_i386.c:1776:34: note: in expansion of macro 'ESP_sig'
>      > > >                    (unsigned int) ESP_sig(sigcontext),
>      NtCurrentTeb()->Tib.StackLimit,
>      > > >                                   ^
>      > > > signal_i386.c:345:60: error: 'EFL' undeclared (first use in this
>      function)
>      > > >  #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
>      > > >                                                             ^
>      > > > signal_i386.c:1837:5: note: in expansion of macro 'EFL_sig'
>      > > >      EFL_sig(sigcontext) &= ~(0x100|0x400|0x40000);
>      > > >      ^
>      > > > signal_i386.c:337:60: error: 'CS' undeclared (first use in this
>      function)
>      > > >  #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
>      > > >                                                             ^
>      > > > signal_i386.c:1838:5: note: in expansion of macro 'CS_sig'
>      > > >      CS_sig(sigcontext)  = wine_get_cs();
>      > > >      ^
>      > > > signal_i386.c:338:60: error: 'DS' undeclared (first use in this
>      function)
>      > > >  #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
>      > > >                                                             ^
>      > > > signal_i386.c:1839:5: note: in expansion of macro 'DS_sig'
>      > > >      DS_sig(sigcontext)  = wine_get_ds();
>      > > >      ^
>      > > > signal_i386.c:339:60: error: 'ES' undeclared (first use in this
>      function)
>      > > >  #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
>      > > >                                                             ^
>      > > > signal_i386.c:1840:5: note: in expansion of macro 'ES_sig'
>      > > >      ES_sig(sigcontext)  = wine_get_es();
>      > > >      ^
>      > > > signal_i386.c:342:60: error: 'FS' undeclared (first use in this
>      function)
>      > > >  #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
>      > > >                                                             ^
>      > > > signal_i386.c:1841:5: note: in expansion of macro 'FS_sig'
>      > > >      FS_sig(sigcontext)  = wine_get_fs();
>      > > >      ^
>      > > > signal_i386.c:343:60: error: 'GS' undeclared (first use in this
>      function)
>      > > >  #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
>      > > >                                                             ^
>      > > > signal_i386.c:1842:5: note: in expansion of macro 'GS_sig'
>      > > >      GS_sig(sigcontext)  = wine_get_gs();
>      > > >      ^
>      > > > signal_i386.c:340:60: error: 'SS' undeclared (first use in this
>      function)
>      > > >  #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
>      > > >                                                             ^
>      > > > signal_i386.c:1843:5: note: in expansion of macro 'SS_sig'
>      > > >      SS_sig(sigcontext)  = wine_get_ss();
>      > > >      ^
>      > > > signal_i386.c: In function 'init_handler':
>      > > > signal_i386.c:996:1: warning: control reaches end of non-void
>      function [-Wreturn-type]
>      > > >  }
>      > > >  ^
>      > > > Makefile:596: recipe for target 'signal_i386.o' failed
>      > > > gmake[1]: *** [signal_i386.o] Error 1
>      > > > gmake[1]: Leaving directory
>      '/home/franck/tmp/wine-1.9.10/dlls/ntdll'
>      > > > Makefile:12228: recipe for target 'dlls/ntdll' failed
>      > > > gmake: *** [dlls/ntdll] Error 2
>      > > >
>      > > >
>      > > > If anyone have an idea, it would be great.
>      > > >
>      > > > Best regards.
>      > > > Ben
>      > > >
>      > > > _______________________________________________
>      > > > oi-dev mailing list
>      > > > [3]oi-dev <at> openindiana.org
>      > > > [4]http://openindiana.org/mailman/listinfo/oi-dev
>      > > >
>      > >
>      > > --
>      > > Thanks for sailing Jolla :)
>      > > _______________________________________________
>      > > oi-dev mailing list
>      > > [5]oi-dev <at> openindiana.org
>      > > [6]http://openindiana.org/mailman/listinfo/oi-dev
>      > >
>      >
>      > --
>      > --
>      > Thomas Wagner
>      >
>      >
>      ------------------------------------------------------------------------
>      > Service rund um UNIX(TM),     Wagner Network Services, Thomas Wagner
>      > Solaris(TM), Linux(TM)        Eschenweg 21, 89174 Altheim, Germany
>      > Novell(TM), Windows(TM)       TEL: [7]+49-731-9807799, FAX:
>      [8]+49-731-9807711
>      > Telekommunikation, LAN,       MOBILE/CELL: [9]+49-171-6135989
>      > Internet-Service, Elektronik  EMAIL: [10]wagner <at> wagner-net.com
>      >
>      > _______________________________________________
>      > oi-dev mailing list
>      > [11]oi-dev <at> openindiana.org
>      > [12]http://openindiana.org/mailman/listinfo/oi-dev
> 
>      _______________________________________________
>      oi-dev mailing list
>      [13]oi-dev <at> openindiana.org
>      [14]http://openindiana.org/mailman/listinfo/oi-dev
> 
>    --
>    ---
>    Praise the Caffeine embeddings
> 
> References
> 
>    Visible links
>    1. mailto:bentahyr <at> chez.com
>    2. mailto:bentahyr <at> chez.com
>    3. mailto:oi-dev <at> openindiana.org
>    4. http://openindiana.org/mailman/listinfo/oi-dev
>    5. mailto:oi-dev <at> openindiana.org
>    6. http://openindiana.org/mailman/listinfo/oi-dev
>    7. file:///tmp/tel:%2B49-731-9807799
>    8. file:///tmp/tel:%2B49-731-9807711
>    9. file:///tmp/tel:%2B49-171-6135989
>   10. mailto:wagner <at> wagner-net.com
>   11. mailto:oi-dev <at> openindiana.org
>   12. http://openindiana.org/mailman/listinfo/oi-dev
>   13. mailto:oi-dev <at> openindiana.org
>   14. http://openindiana.org/mailman/listinfo/oi-dev

> _______________________________________________
> oi-dev mailing list
> oi-dev <at> openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev

_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
bentahyr | 23 May 04:25 2016

Wine 1.9.10 : compilation trial

Hi
I have a bit of free time today and thought I could give wine compilation a go.

configure stage is ok
I need to add the -std=gnu99  to C(XX)FLAGS to pass first error then unfortunately it fails a lot later with
the following error :

gmake[1]: Entering directory '/home/franck/tmp/wine-1.9.10/dlls/ntdll'
gcc -c -o signal_i386.o signal_i386.c -I. -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT
-fPIC \
  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body
-Wignored-qualifiers \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings
-Wpointer-arith \
  -Wlogical-op -fno-omit-frame-pointer -std=gnu99
In file included from signal_i386.c:60:0:
signal_i386.c: In function 'init_handler':
signal_i386.c:342:60: error: 'FS' undeclared (first use in this function)
 #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:965:18: note: in expansion of macro 'FS_sig'
     *fs = LOWORD(FS_sig(sigcontext));
                  ^
signal_i386.c:342:60: note: each undeclared identifier is reported only once for each function it
appears in
 #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:965:18: note: in expansion of macro 'FS_sig'
     *fs = LOWORD(FS_sig(sigcontext));
                  ^
signal_i386.c:343:60: error: 'GS' undeclared (first use in this function)
 #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:970:18: note: in expansion of macro 'GS_sig'
     *gs = LOWORD(GS_sig(sigcontext));
                  ^
signal_i386.c:337:60: error: 'CS' undeclared (first use in this function)
 #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
                                                            ^
signal_i386.c:983:29: note: in expansion of macro 'CS_sig'
     if (!wine_ldt_is_system(CS_sig(sigcontext)) ||
                             ^
signal_i386.c:340:60: error: 'SS' undeclared (first use in this function)
 #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
                                                            ^
signal_i386.c:984:29: note: in expansion of macro 'SS_sig'
         !wine_ldt_is_system(SS_sig(sigcontext)))  /* 16-bit mode */
                             ^
signal_i386.c:353:60: error: 'ESP' undeclared (first use in this function)
 #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
                                                            ^
signal_i386.c:995:21: note: in expansion of macro 'ESP_sig'
     return (void *)(ESP_sig(sigcontext) & ~3);
                     ^
signal_i386.c: In function 'save_context':
signal_i386.c:329:60: error: 'EAX' undeclared (first use in this function)
 #define EAX_sig(context)     ((context)->uc_mcontext.gregs[EAX])
                                                            ^
signal_i386.c:1108:29: note: in expansion of macro 'EAX_sig'
     context->Eax          = EAX_sig(sigcontext);
                             ^
signal_i386.c:330:60: error: 'EBX' undeclared (first use in this function)
 #define EBX_sig(context)     ((context)->uc_mcontext.gregs[EBX])
                                                            ^
signal_i386.c:1109:29: note: in expansion of macro 'EBX_sig'
     context->Ebx          = EBX_sig(sigcontext);
                             ^
signal_i386.c:331:60: error: 'ECX' undeclared (first use in this function)
 #define ECX_sig(context)     ((context)->uc_mcontext.gregs[ECX])
                                                            ^
signal_i386.c:1110:29: note: in expansion of macro 'ECX_sig'
     context->Ecx          = ECX_sig(sigcontext);
                             ^
signal_i386.c:332:60: error: 'EDX' undeclared (first use in this function)
 #define EDX_sig(context)     ((context)->uc_mcontext.gregs[EDX])
                                                            ^
signal_i386.c:1111:29: note: in expansion of macro 'EDX_sig'
     context->Edx          = EDX_sig(sigcontext);
                             ^
signal_i386.c:333:60: error: 'ESI' undeclared (first use in this function)
 #define ESI_sig(context)     ((context)->uc_mcontext.gregs[ESI])
                                                            ^
signal_i386.c:1112:29: note: in expansion of macro 'ESI_sig'
     context->Esi          = ESI_sig(sigcontext);
                             ^
signal_i386.c:334:60: error: 'EDI' undeclared (first use in this function)
 #define EDI_sig(context)     ((context)->uc_mcontext.gregs[EDI])
                                                            ^
signal_i386.c:1113:29: note: in expansion of macro 'EDI_sig'
     context->Edi          = EDI_sig(sigcontext);
                             ^
signal_i386.c:335:60: error: 'EBP' undeclared (first use in this function)
 #define EBP_sig(context)     ((context)->uc_mcontext.gregs[EBP])
                                                            ^
signal_i386.c:1114:29: note: in expansion of macro 'EBP_sig'
     context->Ebp          = EBP_sig(sigcontext);
                             ^
signal_i386.c:345:60: error: 'EFL' undeclared (first use in this function)
 #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
                                                            ^
signal_i386.c:1115:29: note: in expansion of macro 'EFL_sig'
     context->EFlags       = EFL_sig(sigcontext);
                             ^
signal_i386.c:347:60: error: 'EIP' undeclared (first use in this function)
 #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
                                                            ^
signal_i386.c:1116:29: note: in expansion of macro 'EIP_sig'
     context->Eip          = EIP_sig(sigcontext);
                             ^
signal_i386.c:353:60: error: 'ESP' undeclared (first use in this function)
 #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
                                                            ^
signal_i386.c:1117:29: note: in expansion of macro 'ESP_sig'
     context->Esp          = ESP_sig(sigcontext);
                             ^
In file included from signal_i386.c:60:0:
signal_i386.c:337:60: error: 'CS' undeclared (first use in this function)
 #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
                                                            ^
signal_i386.c:1118:29: note: in expansion of macro 'LOWORD'
     context->SegCs        = LOWORD(CS_sig(sigcontext));
                             ^
signal_i386.c:1118:36: note: in expansion of macro 'CS_sig'
     context->SegCs        = LOWORD(CS_sig(sigcontext));
                                    ^
signal_i386.c:338:60: error: 'DS' undeclared (first use in this function)
 #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:1119:36: note: in expansion of macro 'DS_sig'
     context->SegDs        = LOWORD(DS_sig(sigcontext));
                                    ^
signal_i386.c:339:60: error: 'ES' undeclared (first use in this function)
 #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:1120:36: note: in expansion of macro 'ES_sig'
     context->SegEs        = LOWORD(ES_sig(sigcontext));
                                    ^
signal_i386.c:340:60: error: 'SS' undeclared (first use in this function)
 #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
                                                            ^
../../include/windef.h:337:52: note: in definition of macro 'LOWORD'
 #define LOWORD(l)              ((WORD)((DWORD_PTR)(l) & 0xFFFF))
                                                    ^
signal_i386.c:1123:36: note: in expansion of macro 'SS_sig'
     context->SegSs        = LOWORD(SS_sig(sigcontext));
                                    ^
signal_i386.c: In function 'restore_context':
signal_i386.c:329:60: error: 'EAX' undeclared (first use in this function)
 #define EAX_sig(context)     ((context)->uc_mcontext.gregs[EAX])
                                                            ^
signal_i386.c:1164:5: note: in expansion of macro 'EAX_sig'
     EAX_sig(sigcontext) = context->Eax;
     ^
signal_i386.c:330:60: error: 'EBX' undeclared (first use in this function)
 #define EBX_sig(context)     ((context)->uc_mcontext.gregs[EBX])
                                                            ^
signal_i386.c:1165:5: note: in expansion of macro 'EBX_sig'
     EBX_sig(sigcontext) = context->Ebx;
     ^
signal_i386.c:331:60: error: 'ECX' undeclared (first use in this function)
 #define ECX_sig(context)     ((context)->uc_mcontext.gregs[ECX])
                                                            ^
signal_i386.c:1166:5: note: in expansion of macro 'ECX_sig'
     ECX_sig(sigcontext) = context->Ecx;
     ^
signal_i386.c:332:60: error: 'EDX' undeclared (first use in this function)
 #define EDX_sig(context)     ((context)->uc_mcontext.gregs[EDX])
                                                            ^
signal_i386.c:1167:5: note: in expansion of macro 'EDX_sig'
     EDX_sig(sigcontext) = context->Edx;
     ^
signal_i386.c:333:60: error: 'ESI' undeclared (first use in this function)
 #define ESI_sig(context)     ((context)->uc_mcontext.gregs[ESI])
                                                            ^
signal_i386.c:1168:5: note: in expansion of macro 'ESI_sig'
     ESI_sig(sigcontext) = context->Esi;
     ^
signal_i386.c:334:60: error: 'EDI' undeclared (first use in this function)
 #define EDI_sig(context)     ((context)->uc_mcontext.gregs[EDI])
                                                            ^
signal_i386.c:1169:5: note: in expansion of macro 'EDI_sig'
     EDI_sig(sigcontext) = context->Edi;
     ^
signal_i386.c:335:60: error: 'EBP' undeclared (first use in this function)
 #define EBP_sig(context)     ((context)->uc_mcontext.gregs[EBP])
                                                            ^
signal_i386.c:1170:5: note: in expansion of macro 'EBP_sig'
     EBP_sig(sigcontext) = context->Ebp;
     ^
signal_i386.c:345:60: error: 'EFL' undeclared (first use in this function)
 #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
                                                            ^
signal_i386.c:1171:5: note: in expansion of macro 'EFL_sig'
     EFL_sig(sigcontext) = context->EFlags;
     ^
signal_i386.c:347:60: error: 'EIP' undeclared (first use in this function)
 #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
                                                            ^
signal_i386.c:1172:5: note: in expansion of macro 'EIP_sig'
     EIP_sig(sigcontext) = context->Eip;
     ^
signal_i386.c:353:60: error: 'ESP' undeclared (first use in this function)
 #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
                                                            ^
signal_i386.c:1173:5: note: in expansion of macro 'ESP_sig'
     ESP_sig(sigcontext) = context->Esp;
     ^
signal_i386.c:337:60: error: 'CS' undeclared (first use in this function)
 #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
                                                            ^
signal_i386.c:1174:5: note: in expansion of macro 'CS_sig'
     CS_sig(sigcontext)  = context->SegCs;
     ^
signal_i386.c:338:60: error: 'DS' undeclared (first use in this function)
 #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
                                                            ^
signal_i386.c:1175:5: note: in expansion of macro 'DS_sig'
     DS_sig(sigcontext)  = context->SegDs;
     ^
signal_i386.c:339:60: error: 'ES' undeclared (first use in this function)
 #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
                                                            ^
signal_i386.c:1176:5: note: in expansion of macro 'ES_sig'
     ES_sig(sigcontext)  = context->SegEs;
     ^
signal_i386.c:340:60: error: 'SS' undeclared (first use in this function)
 #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
                                                            ^
signal_i386.c:1177:5: note: in expansion of macro 'SS_sig'
     SS_sig(sigcontext)  = context->SegSs;
     ^
signal_i386.c:343:60: error: 'GS' undeclared (first use in this function)
 #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
                                                            ^
signal_i386.c:1179:5: note: in expansion of macro 'GS_sig'
     GS_sig(sigcontext)  = context->SegGs;
     ^
signal_i386.c:342:60: error: 'FS' undeclared (first use in this function)
 #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
                                                            ^
signal_i386.c:1184:5: note: in expansion of macro 'FS_sig'
     FS_sig(sigcontext)  = context->SegFs;
     ^
In file included from signal_i386.c:64:0:
signal_i386.c: In function 'setup_exception_record':
signal_i386.c:347:60: error: 'EIP' undeclared (first use in this function)
 #define EIP_sig(context)     ((context)->uc_mcontext.gregs[EIP])
                                                            ^
../../include/wine/debug.h:91:49: note: in definition of macro '__WINE_DBG_LOG'
     wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
                                                 ^
signal_i386.c:1775:56: note: in expansion of macro 'EIP_sig'
                   GetCurrentThreadId(), (unsigned int) EIP_sig(sigcontext),
                                                        ^
signal_i386.c:353:60: error: 'ESP' undeclared (first use in this function)
 #define ESP_sig(context)     ((context)->uc_mcontext.gregs[ESP])
                                                            ^
../../include/wine/debug.h:91:49: note: in definition of macro '__WINE_DBG_LOG'
     wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
                                                 ^
signal_i386.c:1776:34: note: in expansion of macro 'ESP_sig'
                   (unsigned int) ESP_sig(sigcontext), NtCurrentTeb()->Tib.StackLimit,
                                  ^
signal_i386.c:345:60: error: 'EFL' undeclared (first use in this function)
 #define EFL_sig(context)     ((context)->uc_mcontext.gregs[EFL])
                                                            ^
signal_i386.c:1837:5: note: in expansion of macro 'EFL_sig'
     EFL_sig(sigcontext) &= ~(0x100|0x400|0x40000);
     ^
signal_i386.c:337:60: error: 'CS' undeclared (first use in this function)
 #define CS_sig(context)      ((context)->uc_mcontext.gregs[CS])
                                                            ^
signal_i386.c:1838:5: note: in expansion of macro 'CS_sig'
     CS_sig(sigcontext)  = wine_get_cs();
     ^
signal_i386.c:338:60: error: 'DS' undeclared (first use in this function)
 #define DS_sig(context)      ((context)->uc_mcontext.gregs[DS])
                                                            ^
signal_i386.c:1839:5: note: in expansion of macro 'DS_sig'
     DS_sig(sigcontext)  = wine_get_ds();
     ^
signal_i386.c:339:60: error: 'ES' undeclared (first use in this function)
 #define ES_sig(context)      ((context)->uc_mcontext.gregs[ES])
                                                            ^
signal_i386.c:1840:5: note: in expansion of macro 'ES_sig'
     ES_sig(sigcontext)  = wine_get_es();
     ^
signal_i386.c:342:60: error: 'FS' undeclared (first use in this function)
 #define FS_sig(context)      ((context)->uc_mcontext.gregs[FS])
                                                            ^
signal_i386.c:1841:5: note: in expansion of macro 'FS_sig'
     FS_sig(sigcontext)  = wine_get_fs();
     ^
signal_i386.c:343:60: error: 'GS' undeclared (first use in this function)
 #define GS_sig(context)      ((context)->uc_mcontext.gregs[GS])
                                                            ^
signal_i386.c:1842:5: note: in expansion of macro 'GS_sig'
     GS_sig(sigcontext)  = wine_get_gs();
     ^
signal_i386.c:340:60: error: 'SS' undeclared (first use in this function)
 #define SS_sig(context)      ((context)->uc_mcontext.gregs[SS])
                                                            ^
signal_i386.c:1843:5: note: in expansion of macro 'SS_sig'
     SS_sig(sigcontext)  = wine_get_ss();
     ^
signal_i386.c: In function 'init_handler':
signal_i386.c:996:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Makefile:596: recipe for target 'signal_i386.o' failed
gmake[1]: *** [signal_i386.o] Error 1
gmake[1]: Leaving directory '/home/franck/tmp/wine-1.9.10/dlls/ntdll'
Makefile:12228: recipe for target 'dlls/ntdll' failed
gmake: *** [dlls/ntdll] Error 2

If anyone have an idea, it would be great.

Best regards.
Ben
Denys Rtveliashvili | 22 May 23:50 2016
Gravatar

Re: first steps at compiling libvirt

Hello Bob,

I am afraid that did not help.

Also tried adding -lc, that did not work either.

On the other hand, when I tried to package libvirt those errors seemed 
to went away.
New ones have added however, so I will have to spend some time figuring 
out what do they mean.

With kind regards,
Denys Rtveliashvili

> On Sat, 21 May 2016, Denys Rtveliashvili wrote:
>>
>> The linking command looks OKish to me. The only thing I managed to 
>> find about _fini and _init is that they are related to initialisation 
>> and shutting down of shared libraries. Also, -nostdlib option seems 
>> to "fix" the problem but I am not sure if it is what really should be 
>> done. And I have never seen this on Linux.
>
> Does the linking problem go away if you remove the '-Wl,now'?
>
> Bob
Denys Rtveliashvili | 22 May 14:26 2016
Gravatar

Re: Making VIM run in a modern mode by default


Hi Volker,

I understand. But so far I have not seen a single case of anything 
non-standard being distracting. While the opposite is very much true.

If you launch "vim -N" (non-compatible mode), what could you possibly 
find distracting?

> Hello all!
>
>
>>      The list of gains is huge but the most obvious to me are:
>>      a) syntax highlighting makes it easier to read code and configuration files
>>      b) navigation is possible with arrow keys, page-up/down, home/end
>>      c) selecting blocks of texts and running regexps over them is trivial
>>
>>      And I see not a single downside in the non-compatible vim mode.
>>
>>
>> Maybe my question was stupid but: are there environment for which using "vim"
>> as "vi" breaks things ? (serial consoles ?)
>> If it is the case then Volker has a point.
> Wow, interesting discussion.
>
> Maybe I should clarify my concern.  When I log in as root via the
> system console on a newly installed system, I do not want to be
> distracted by anything "non-standard".  I have not experienced any
> problems yet simply because I have never used vim in non-compatible
> mode as root.
>
> In my "normal" user account, I have a .vimrc file.  The simple presence
> of this file makes vim switch to non-compatible mode.  I don't really
> care because obviously I use Emacs for most things. :-)
>
> The problem I see with your suggestion is simply the fact that it will
> also change the behaviour for the root user.
>
>
> Regards -- Volker
Denys Rtveliashvili | 21 May 19:17 2016
Gravatar

Re: Making VIM run in a modern mode by default

Hello Volker,

The list of gains is huge but the most obvious to me are:
a) syntax highlighting makes it easier to read code and configuration files
b) navigation is possible with arrow keys, page-up/down, home/end
c) selecting blocks of texts and running regexps over them is trivial

And I see not a single downside in the non-compatible vim mode.

I have never seen it not working in a limited environment. As long as 
terminal is correctly specified it acts accordingly.

Yes, OpenIndiana is not Linux. But does it mean that it should be worse 
than Linux?

"vi" is a system utility, no question about it. But it is not "ed" or 
"sed". It is used by real human beings. And that's why I would like it 
to be more human oriented.

The original Solaris "vi" also was not set in stone I suppose. Surely it 
was updated over time as people needed a useful tool.

Well to me the olden "vi" is broken. I cannot use it without much 
shivering. I prefer a tool which was polished by many people to be an 
excellent, if not best, text editor. Why would I want to use a 
fossilised "vi" mode which has not effectively developed with time if 
there is a better tool doing all the same thing plus many more?

Really, can you name a few actual examples why "non compatible" mode is 
worse than a "compatible" one?

> Hello Denys!
>
>
>> VIM runs in non-compatible mode by default on many if not all Linux
>> distributions and frankly I see no reasons why would someone want to
>> have it in "compatible" mode.
> Because this is not Linux, and the "system" vi should be as close to
> the original Solaris vi it replaced.
>
> Why can't you just set that for your user account?  What is the gain?
> Remember that the system vi may be used in a limited environment,
> such as a serial system console.  Don't fix things that aren't broken.
>
>
> Regards -- Volker
Denys Rtveliashvili | 21 May 18:13 2016
Gravatar

first steps at compiling libvirt

Hello,

I am trying to compile libvirt on OpenIndiana.
There is some good progress here.

However, I found a strange thing which may be Illumos or Solaris  - specific.
Perhaps someone could comment?

root <at> zone1:~/libvirt-1.3.4/src# gcc -std=gnu99 -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libvirt-qemu.so.0 -o .libs/libvirt-qemu.so.0.1003.4  .libs/libvirt_qemu_la-libvirt-qemu.o   -R/export/home/rtvd/libvirt-1.3.4/src/.libs -R/usr/local/lib ./.libs/libvirt.so -lthread -lxml2 -lavahi-common -lavahi-client -ldbus-1 -lgnutls -lssh2 -lcurl -lsocket -lnsl -lintl  -g -O2 -Wl,-M -Wl,./libvirt_qemu.syms -Wl,-z -Wl,now
Undefined                       first referenced
 symbol                             in file
_fini                               /usr/lib/crti.o  (symbol has no version assigned)
_init                               /usr/lib/crti.o  (symbol has no version assigned)
_lib_version                        /usr/lib/values-Xa.o  (symbol has no version assigned)
ld: fatal: symbol referencing errors. No output written to .libs/libvirt-qemu.so.0.1003.4
collect2: error: ld returned 1 exit status

The linking command looks OKish to me. The only thing I managed to find about _fini and _init is that they are related to initialisation and shutting down of shared libraries. Also, -nostdlib option seems to "fix" the problem but I am not sure if it is what really should be done. And I have never seen this on Linux.

With kind regards,
Denys Rtveliashvili
_______________________________________________
oi-dev mailing list
oi-dev <at> openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev

Gmane