9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] vx32 @ FreeBSD: -Ilibvxc/include missing?
@ 2008-07-10 10:20 Nikolai Saoukh
  2008-07-10 14:30 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Saoukh @ 2008-07-10 10:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

$ 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] vx32 @ FreeBSD: -Ilibvxc/include missing?
  2008-07-10 10:20 [9fans] vx32 @ FreeBSD: -Ilibvxc/include missing? Nikolai Saoukh
@ 2008-07-10 14:30 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2008-07-10 14:30 UTC (permalink / raw)
  To: 9fans

> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-10 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-10 10:20 [9fans] vx32 @ FreeBSD: -Ilibvxc/include missing? Nikolai Saoukh
2008-07-10 14:30 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).