Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 16:36:58 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        ports@freebsd.org, Alexander Leidinger <Alexander@leidinger.net>, Robert Huff <roberthuff@rcn.com>
Subject:   Re: porting: Linux to Freebsd
Message-ID:  <18989.30314.432802.548214@jerusalem.litteratus.org>
In-Reply-To: <20090608191539.GF9529@server.vk2pj.dyndns.org>
References:  <18988.39724.572280.687111@jerusalem.litteratus.org> <20090608082930.GD9529@server.vk2pj.dyndns.org> <18988.65260.635443.439491@jerusalem.litteratus.org> <20090608143519.1866665ogux2b8g0@webmail.leidinger.net> <18989.6105.484074.889552@jerusalem.litteratus.org> <20090608164014.131052xgwiww9bks@webmail.leidinger.net> <18989.12103.858035.873279@jerusalem.litteratus.org> <20090608191539.GF9529@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy writes:


>  >>  > for ac_remove_CFLAG in "-O1" "-O2" "-O3" ; do
>  >>  > 	CFLAGS=${CFLAGS//${ac_remove_CFLAG}/}
>  >>  > 	CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/}
>  >>  > 	CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/}
>  >>  > done
>  >>  
>  >>  Quick try:
>  >>  CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'`
>  >
>  >	No change here either.
>  
>  Obvious question but if you edited configure.ac, you did remember to
>  rerun autoconf afterwards didn't you?

	Uh ... no.  (When I said "complete novice", wasn't kidding. :-)
	Ran autoconf(-2.62).
	That seems to have fixed the "configure" stage.
	I'm into compilation, and:

/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"


						Robert Huff




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