[9fans] vx32 @ FreeBSD: -Ilibvxc/include missing?
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] vx32 @ FreeBSD: -Ilibvxc/include missing?         


Date: Jul 10, 2008 03:26

$ uname -a
FreeBSD NetFaker 7.0-STABLE FreeBSD 7.0-STABLE #13: Wed Jul 2
15:04:57 MSD 2008 nms@NetFaker:/usr/obj/usr/src/sys/NETFAKER i386
$ gmake
gmake: vx32-gcc: Command not found
gmake: vx32-gcc: Command not found
gcc -c -o vxa/vorbis/libvorbis/lib/analysis.ho -Ivxa/vorbis
-Ivxa/vorbis/libogg/include -Ivxa/vorbis/libvorbis/include
-DHAVE_ALLOCA_H -g -O3 -MD -std=gnu99 -I.
vxa/vorbis/libvorbis/lib/analysis.c
In file included from vxa/vorbis/libvorbis/lib/bitrate.h:23,
from vxa/vorbis/libvorbis/lib/codec_internal.h:56,
from vxa/vorbis/libvorbis/lib/analysis.c:23:
vxa/vorbis/os.h:62:22: error: alloca.h: No such file or directory
gmake: *** [vxa/vorbis/libvorbis/lib/analysis.ho] Error 1
1 Comment
Re: [9fans] vx32 @ FreeBSD: -Ilibvxc/include missing?         


Author: Russ Cox
Date: Jul 10, 2008 07:34

> gcc -c -o vxa/vorbis/libvorbis/lib/analysis.ho -Ivxa/vorbis
> -Ivxa/vorbis/libogg/include -Ivxa/vorbis/libvorbis/include
> -DHAVE_ALLOCA_H -g -O3 -MD -std=gnu99 -I.
> vxa/vorbis/libvorbis/lib/analysis.c
> In file included from vxa/vorbis/libvorbis/lib/bitrate.h:23,
> from vxa/vorbis/libvorbis/lib/codec_internal.h:56,
> from vxa/vorbis/libvorbis/lib/analysis.c:23:
> vxa/vorbis/os.h:62:22: error: alloca.h: No such file or directory
> gmake: *** [vxa/vorbis/libvorbis/lib/analysis.ho] Error 1

Actually, this command is compiling a native host object
(.ho extension) to compare with the vx32 object (.vo extension).
The problem is the -DHAVE_ALLOCA_H combined with
FreeBSD not having alloca.h. I have fixed this in hg.

Russ
no comments