Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 21:12:33 -0500
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-apache@freebsd.org
Subject:   Re: error: Size of "void *" is less than size of "long"
Message-ID:  <4B721611.5040509@p6m7g8.com>
In-Reply-To: <20100209222117.GE60054@felucia.tataz.chchile.org>
References:  <20100209221846.GD60054@felucia.tataz.chchile.org> <20100209222117.GE60054@felucia.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/9/2010 5:21 PM, Jeremie Le Hen wrote:
> Forgot the attachments :).

Your system is confused!! The problem isn't the port is something local
in your system or config or some odd cross compile foobar.

$ ./size
sizeof(long)  = 4
sizeof(void*) = 4

Can you run this please and post your output ?

#include <stdio.h>

int main (int argc, char **argv) {

  (void)fprintf(stdout, "sizeof(long)  = %d\n", sizeof(long));
  (void)fprintf(stdout, "sizeof(void*) = %d\n", sizeof(void*));

  return 0;
}

If either of them are '8' I'd look towards cross compile foobars.




-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Sr. System Admin,                 Ridecharge Inc.
Consultant,                       P6M7G8 Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B721611.5040509>