cant buildworlnd on FreeBSD 4.9-RELEASE

Robert Garrett rg70 at sbcglobal.net
Thu Feb 5 13:22:54 PST 2004


Sergey Matveychuk wrote:

> ===> lib/csu/i386-elf
> cc -O -pipe -march=k6 -elf -Wall -fkeep-inline-functions
> -I/spool/dragonfly/src/lib/csu/i386-elf/../common  -c crt1.c -o crt1.o
> In file included from crt1.c:35:
> /spool/dragonfly/src/lib/csu/i386-elf/../common/crtbrand.c:52:
> `__DragonFly_version' undeclared here (not in a function)
> /spool/dragonfly/src/lib/csu/i386-elf/../common/crtbrand.c:52:
> initializer element is not constant
> /spool/dragonfly/src/lib/csu/i386-elf/../common/crtbrand.c:52: (near
> initialization for `abitag.desc')
> *** Error code 1
> 
> ---
> Sem.
I am thinking of this..

#if !defined __DragonFly__
#define __DragonFly__
#define __DragonFly_version 100000
#endif

in the files that need it for the buildtools
however I don't have a 4.* freebsd box to test on.

Robert Garrett





More information about the Bugs mailing list