Carla Bridge Win32 Git Won't Build In Arch

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

Post Reply
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Carla Bridge Win32 Git Won't Build In Arch

Post by GraysonPeddie »

I modified PKGBUILD's source line to append #tag=1.9.5 next to Carla.git as detailed in

But I'm having problems in Arch:

Code: Select all

==> Building and installing package
==> Making package: carla-bridges-win32-git 2470.d689518-1 (Fri Nov 21 20:04:32 EST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating carla-bridges-win32-git git repo...
Fetching origin
  -> Found vstsdk360_22_11_2013_build_100.zip
==> Validating source files with md5sums...
    carla-bridges-win32-git ... Skipped
    vstsdk360_22_11_2013_build_100.zip ... Passed
==> Extracting sources...
  -> Creating working copy of Carla git repo...
Cloning into 'carla-bridges-win32-git'...
done.
Switched to a new branch 'makepkg'
  -> Extracting vstsdk360_22_11_2013_build_100.zip with bsdtar
==> Starting pkgver()...
==> Updated version: carla-bridges-win32-git 2454.401a1ea-1
==> Removing existing pkg/ directory...
==> Starting build()...
...
In file included from /usr/i686-w64-mingw32/include/netioapi.h:10:0,
                 from /usr/i686-w64-mingw32/include/iphlpapi.h:16,
                 from ../juce_core/native/juce_BasicNativeHeaders.h:107,
                 from juce_audio_processors.cpp:38:
/usr/i686-w64-mingw32/include/ws2ipdef.h:31:19: error: field 'Address' has incomplete type 'sockaddr'
   struct sockaddr Address;
                   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:32:22: error: field 'AddressIn' has incomplete type 'sockaddr_in'
   struct sockaddr_in AddressIn;
                      ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:69:3: error: 'SOCKADDR_IN' does not name a type
   SOCKADDR_IN    Ipv4;
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:71:3: error: 'ADDRESS_FAMILY' does not name a type
   ADDRESS_FAMILY si_family;
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:76:3: error: 'SOCKADDR_STORAGE' does not name a type
   SOCKADDR_STORAGE    gf_group;
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:79:3: error: 'SOCKADDR_STORAGE' does not name a type
   SOCKADDR_STORAGE    gf_slist[1];
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:84:3: error: 'SOCKADDR_STORAGE' does not name a type
   SOCKADDR_STORAGE gr_group;
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:89:3: error: 'SOCKADDR_STORAGE' does not name a type
   SOCKADDR_STORAGE gsr_group;
   ^
/usr/i686-w64-mingw32/include/ws2ipdef.h:90:3: error: 'SOCKADDR_STORAGE' does not name a type
   SOCKADDR_STORAGE gsr_source;
   ^
In file included from /usr/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from ../juce_core/native/juce_BasicNativeHeaders.h:107,
                 from juce_audio_processors.cpp:38:
/usr/i686-w64-mingw32/include/netioapi.h:108:3: error: 'ADDRESS_FAMILY' does not name a type
   ADDRESS_FAMILY                 Family;
   ^
/usr/i686-w64-mingw32/include/netioapi.h:368:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:369:21: error: expected primary-expression before '*' token
   PMIB_IPNET_TABLE2 *Table
                     ^
/usr/i686-w64-mingw32/include/netioapi.h:369:22: error: 'Table' was not declared in this scope
   PMIB_IPNET_TABLE2 *Table
                      ^
/usr/i686-w64-mingw32/include/netioapi.h:403:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:404:25: error: expected primary-expression before '*' token
   PMIB_IPFORWARD_TABLE2 *Table
                         ^
/usr/i686-w64-mingw32/include/netioapi.h:404:26: error: 'Table' was not declared in this scope
   PMIB_IPFORWARD_TABLE2 *Table
                          ^
/usr/i686-w64-mingw32/include/netioapi.h:416:3: error: redefinition of 'DWORD GetIpNetTable2'
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:367:14: note: 'DWORD GetIpNetTable2' previously defined here
 NETIOAPI_API GetIpNetTable2(
              ^
/usr/i686-w64-mingw32/include/netioapi.h:416:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:417:21: error: expected primary-expression before '*' token
   PMIB_IPNET_TABLE2 *Table
                     ^
/usr/i686-w64-mingw32/include/netioapi.h:417:22: error: 'Table' was not declared in this scope
   PMIB_IPNET_TABLE2 *Table
                      ^
/usr/i686-w64-mingw32/include/netioapi.h:433:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:434:15: error: expected primary-expression before 'InterfaceIndex'
   NET_IFINDEX InterfaceIndex
               ^
/usr/i686-w64-mingw32/include/netioapi.h:438:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family
   ^
/usr/i686-w64-mingw32/include/netioapi.h:446:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:447:31: error: expected primary-expression before '*' token
   PMIB_ANYCASTIPADDRESS_TABLE *Table
                               ^
/usr/i686-w64-mingw32/include/netioapi.h:447:32: error: 'Table' was not declared in this scope
   PMIB_ANYCASTIPADDRESS_TABLE *Table
                                ^
/usr/i686-w64-mingw32/include/netioapi.h:495:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:496:26: error: expected primary-expression before '*' token
   PMIB_IPINTERFACE_TABLE *Table
                          ^
/usr/i686-w64-mingw32/include/netioapi.h:496:27: error: 'Table' was not declared in this scope
   PMIB_IPINTERFACE_TABLE *Table
                           ^
/usr/i686-w64-mingw32/include/netioapi.h:508:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:509:21: error: expected primary-expression before '*' token
   PMIB_IPPATH_TABLE *Table
                     ^
/usr/i686-w64-mingw32/include/netioapi.h:509:22: error: 'Table' was not declared in this scope
   PMIB_IPPATH_TABLE *Table
                      ^
/usr/i686-w64-mingw32/include/netioapi.h:517:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:518:33: error: expected primary-expression before '*' token
   PMIB_MULTICASTIPADDRESS_TABLE *Table
                                 ^
/usr/i686-w64-mingw32/include/netioapi.h:518:34: error: 'Table' was not declared in this scope
   PMIB_MULTICASTIPADDRESS_TABLE *Table
                                  ^
In file included from /usr/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from ../juce_core/native/juce_BasicNativeHeaders.h:107,
                 from juce_audio_processors.cpp:38:
/usr/i686-w64-mingw32/include/netioapi.h:537:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:538:31: error: expected primary-expression before '*' token
   PMIB_UNICASTIPADDRESS_TABLE *Table,
                               ^
/usr/i686-w64-mingw32/include/netioapi.h:538:32: error: 'Table' was not declared in this scope
   PMIB_UNICASTIPADDRESS_TABLE *Table,
                                ^
/usr/i686-w64-mingw32/include/netioapi.h:539:44: error: expected primary-expression before 'CallerCallback'
   PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK CallerCallback,
                                            ^
/usr/i686-w64-mingw32/include/netioapi.h:540:9: error: expected primary-expression before 'CallerContext'
   PVOID CallerContext,
         ^
/usr/i686-w64-mingw32/include/netioapi.h:541:10: error: expected primary-expression before '*' token
   HANDLE *NotificationHandle
          ^
/usr/i686-w64-mingw32/include/netioapi.h:541:11: error: 'NotificationHandle' was not declared in this scope
   HANDLE *NotificationHandle
           ^
/usr/i686-w64-mingw32/include/netioapi.h:547:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:548:38: error: expected primary-expression before 'Callback'
   PUNICAST_IPADDRESS_CHANGE_CALLBACK Callback,
                                      ^
/usr/i686-w64-mingw32/include/netioapi.h:549:9: error: expected primary-expression before 'CallerContext'
   PVOID CallerContext,
         ^
/usr/i686-w64-mingw32/include/netioapi.h:550:11: error: expected primary-expression before 'InitialNotification'
   BOOLEAN InitialNotification,
           ^
/usr/i686-w64-mingw32/include/netioapi.h:551:10: error: expected primary-expression before '*' token
   HANDLE *NotificationHandle
          ^
/usr/i686-w64-mingw32/include/netioapi.h:551:11: error: 'NotificationHandle' was not declared in this scope
   HANDLE *NotificationHandle
           ^
/usr/i686-w64-mingw32/include/netioapi.h:555:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY  Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:556:31: error: expected primary-expression before '*' token
   PMIB_UNICASTIPADDRESS_TABLE *Table
                               ^
/usr/i686-w64-mingw32/include/netioapi.h:556:32: error: 'Table' was not declared in this scope
   PMIB_UNICASTIPADDRESS_TABLE *Table
                                ^
/usr/i686-w64-mingw32/include/netioapi.h:565:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:566:32: error: expected primary-expression before 'Callback'
   PIPINTERFACE_CHANGE_CALLBACK Callback,
                                ^
/usr/i686-w64-mingw32/include/netioapi.h:567:9: error: expected primary-expression before 'CallerContext'
   PVOID CallerContext,
         ^
/usr/i686-w64-mingw32/include/netioapi.h:568:11: error: expected primary-expression before 'InitialNotification'
   BOOLEAN InitialNotification,
           ^
/usr/i686-w64-mingw32/include/netioapi.h:569:10: error: expected primary-expression before '*' token
   HANDLE *NotificationHandle
          ^
/usr/i686-w64-mingw32/include/netioapi.h:569:11: error: 'NotificationHandle' was not declared in this scope
   HANDLE *NotificationHandle
           ^
/usr/i686-w64-mingw32/include/netioapi.h:575:3: error: 'ADDRESS_FAMILY' was not declared in this scope
   ADDRESS_FAMILY Family,
   ^
/usr/i686-w64-mingw32/include/netioapi.h:576:30: error: expected primary-expression before 'Callback'
   PIPFORWARD_CHANGE_CALLBACK Callback,
                              ^
/usr/i686-w64-mingw32/include/netioapi.h:577:9: error: expected primary-expression before 'CallerContext'
   PVOID CallerContext,
         ^
/usr/i686-w64-mingw32/include/netioapi.h:578:11: error: expected primary-expression before 'InitialNotification'
   BOOLEAN InitialNotification,
           ^
/usr/i686-w64-mingw32/include/netioapi.h:579:10: error: expected primary-expression before '*' token
   HANDLE *NotificationHandle
          ^
/usr/i686-w64-mingw32/include/netioapi.h:579:11: error: 'NotificationHandle' was not declared in this scope
   HANDLE *NotificationHandle
           ^
Makefile:88: recipe for target 'juce_audio_processors.cpp.win32.o' failed
make[1]: *** [juce_audio_processors.cpp.win32.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-grayson/aur-carla-bridges-win32-git/src/carla-bridges-win32-git/source/modules/juce_audio_processors'
Makefile:96: recipe for target 'source/modules/juce_audio_processors.win32.a' failed
make: *** [source/modules/juce_audio_processors.win32.a] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build carla-bridges-win32-git.
Are there any workarounds? I want to be able to run VST plugins such as Dimension LE and Spicy Guitar in Arch.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by Joermungand »

Yes, I can confirm the mingw issue on Arch after the update to version 3.3. I tried various other possibilities (like building from svn or alternate mingw repositories), but it was all to no avail. Installing the binaries seemed the only valid alternative. I tested them and they worked perfectly well in my environment. I will upload a PKGBUILD to install the binaries later today.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by Joermungand »

I have uploaded the ‘carla-bridges-win’ PKGBUILD to the AUR. On 64-bit architectures, it installs both the win32 and the win64 bridges.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by GraysonPeddie »

Thank you Joermungand for uploading the PKGBUILD to the AUR! Installed it and there it is! :)

But what is going on with MinGW then? Why couldn't the Arch community do something about it that causes carla-bridges-win32-git not to compile? I'm not a fully-fledged C/C++ programmer by any chance.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by Joermungand »

You’re welcome.

As for MinGW, it appears the issue is related to changes in the new mingw-crt. As it happens, this is not an Arch-only problem. While trying to get to the bottom of it, I found out that others were complaining about similar issues outside the Arch world. It is probably for a reason that Ubuntu, for instance, is still at version 3.1. In all sincerity, compiling the Carla bridges was my only contact with MinGW ever, so I don’t really have much experience to rely on. I am confident that it will be solved in time, though. Things tend to do so in Arch.
User avatar
GraysonPeddie
Established Member
Posts: 659
Joined: Sun Feb 12, 2012 11:12 pm
Location: Altha, FL
Been thanked: 6 times
Contact:

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by GraysonPeddie »

Them I realized I must be blaming Arch for MinGW without doing any research first. Whoops. :|

Thanks.
--Grayson Peddie

Music Interest: New Age w/ a mix of modern smooth jazz, light techno/trance & downtempo -- something Epcot Future World/Tomorrowland-flavored.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla Bridge Win32 Git Won't Build In Arch

Post by Joermungand »

Arch’ s only ‘fault’ here is staying up to date on upstream releases. But then, Arch would do that :) .Sometimes it’s a bumpy road, but it’s steady.
Post Reply