• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Building Apache Adaptor on Ubuntu 14 LTS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building Apache Adaptor on Ubuntu 14 LTS


  • Subject: Building Apache Adaptor on Ubuntu 14 LTS
  • From: "CHRISTOPH WICK | i4innovation GmbH, Bonn" <email@hidden>
  • Date: Tue, 20 May 2014 13:10:03 +0200

Hi List,

I'm trying to build the Apache Adaptor for Ubuntu 14 LTS manually following the instructions on http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux

If I try to execute "make CC=gcc", I get the following error:

> gcc -I/usr/local/include -O2 -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DLINUX -DCGI -c ../Adaptor/shmem.c
> ../Adaptor/shmem.c:69:38: warning: initialization makes pointer from integer without a cast [enabled by default]
> static void * WOShmem_base_address = -1;
>                                      ^
> ../Adaptor/shmem.c: In function '€˜WOShmem_alloc'€™:
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void *)offset))
>                                                               ^
> ../Adaptor/shmem.c:294:18: note: in expansion of macro '€˜offset_to_addr'€™
>    r = (Region *)offset_to_addr(0);
>                  ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void *)offset))
>                                                               ^
> ../Adaptor/shmem.c:305:19: note: in expansion of macro '€˜offset_to_addr'€™
>             ret = offset_to_addr(r->offset);
>                   ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void *)offset))
>                                                               ^
> ../Adaptor/shmem.c:330:41: note: in expansion of macro '€˜offset_to_addr'€™
>                   newRegion = (Region *)offset_to_addr(r->nextRegion);
>                                         ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void *)offset))
>                                                               ^
> ../Adaptor/shmem.c:336:25: note: in expansion of macro '€˜offset_to_addr'€™
>                   ret = offset_to_addr(newRegion->offset);
>                         ^
> ../Adaptor/shmem.c:78:63: error: invalid operands to binary + (have '€˜void *'€™ and '€˜void *'€™)
> #define offset_to_addr(offset) ((void *)(WOShmem_base_address + (void *)offset))
>                                                               ^
> ../Adaptor/shmem.c:345:24: note: in expansion of macro '€˜offset_to_addr'€™
>          r = (Region *)offset_to_addr(r->nextRegion);
>                        ^
> make[1]: *** [shmem.o] Error 1
> make[1]: Leaving directory `/tmp/wocommunity-wonder-a5ffd1f/Utilities/Adaptors/CGI'
> make: *** [CGI] Error 2
>

Any ideas how to get this running?

Thx,
C.U.CW
--
The three great virtues of a programmer are Laziness, Impatience and Hubris. (Randal Schwartz)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Building Apache Adaptor on Ubuntu 14 LTS
  • Next by Date: Global ID problem with flattened relationship
  • Previous by thread: Re: Building Apache Adaptor on Ubuntu 14 LTS
  • Next by thread: Re: Building Apache Adaptor on Ubuntu 14 LTS
  • Index(es):
    • Date
    • Thread