Robert Huff <roberth...@rcn.com> writes:

> 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>"

Whichever file is being compiled has a line that should be changed from 
 #include <malloc.h>
to 
 #include <stdlib.h>
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to