[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] build error on FreeBSD
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] build error on FreeBSD |
Date: |
Sat, 28 Jun 2014 22:42:53 +0800 |
User-agent: |
KMail/4.12.4 (Linux/3.14-1-amd64; KDE/4.13.1; x86_64; ; ) |
Le dimanche 08 juin 2014, 09:09:42 z_axis a écrit :
> $ git pull
> Already up-to-date.
> tinycc $ gmake
> gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_I386 -I. -Wall -g -O2
> -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
> -D_FORTIFY_SOURCE=0
tccelf.c: In function 'layout_sections':
> tccelf.c:1962: error: 'strsec' undeclared (first use in this function)
> tccelf.c:1962: error: (Each undeclared identifier is reported only once
> tccelf.c:1962: error: for each function it appears in.)
> gmake: *** [tccelf.o] error 1
> ...
>
> $ uname -a
> FreeBSD mybsd.zsoft.com 9.1-RELEASE-p14 FreeBSD 9.1-RELEASE-p14 #0: Tue Jun
> 3 08:49:09 UTC 2014
> address@hidden:/usr/obj/usr/src/sys/GENERIC i386
Mmmh, sorry, that's my fault. A parameter should be added to layout_sections
to pass strsec so that it's available in it. I cannot commit right now, do you
want to give it a try?
Best regards,
Thomas
signature.asc
Description: This is a digitally signed message part.