On Mon, Jun 14, 2010 at 2:29 PM, Tomek CEDRO wrote:
> On Mon, Jun 14, 2010 at 6:18 AM, Mike Frysinger wrote:
>> On Sun, Jun 13, 2010 at 6:27 AM, Tomek CEDRO wrote:
>>> I get following build error [1] when building latest (1782 and 1783)
>>> trunks. Is this a known issue?
>>
>> you seem to be the only one building for *bsd systems
>
> It is very kind of you to care so much about OS of my choice, but you are 
> wrong.

if you're going to be a dick, then i'll simply ignore questions from
you about *bsd in the future and simply wait for patches

if you're downloading live source and banging on things, it's expected
in an open source environment that you do a bit of footwork yourself
in trying to get things fixed rather than simply going "someone fix
this for me!"

>>> Making all in src/apps/jtag
>>> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../..
>>> -I../../../include/urjtag -DLOCALEDIR=\"/usr/local/share/locale\"
>>> -I../../.. -I../../../include -I/usr/local/include
>>> -I/usr/local/include -Wall -Wmissing-prototypes -Wstrict-prototypes
>>> -Wpointer-arith -g -O2 -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o
>>> jtag.o jtag.c
>>> mv -f .deps/jtag.Tpo .deps/jtag.Po
>>> /bin/sh ../../../libtool --tag=CC    --mode=link gcc -std=gnu99 -Wall
>>> -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -g -O2    -o
>>> jtag jtag.o ../../../src/liburjtag.la  /usr/local/lib/libintl.so
>>> -L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath
>>> -Wl,/usr/local/lib -L/usr/local/lib -lftdi -lusb    -lreadline
>>> libtool: link: gcc -std=gnu99 -Wall -Wmissing-prototypes
>>> -Wstrict-prototypes -Wpointer-arith -g -O2 -o .libs/jtag jtag.o
>>> /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath
>>> -Wl,/usr/local/lib  ../../../src/.libs/liburjtag.so -L/usr/local/lib
>>> -lm /usr/local/lib/libftdi.so -lusb -lreadline -Wl,-rpath
>>> -Wl,/usr/local/lib
>>> ../../../src/.libs/liburjtag.so: undefined reference to `WEXITSTATUS'
>>> ../../../src/.libs/liburjtag.so: undefined reference to `WIFEXITED'
>>
>> because you disabled werror and truncated the log, this doesnt show
>> the actual problematic source file
>
> It's right in front of you, if you read the last two lines -
> WEXITSTATUS and WIFEXITED are undefined. In the trunk root Ive tried
> to find them with "grep -R",

except for the part where these macros are sometimes handled correctly
in files and so a grep doesnt tell the whole story

> and it turned out that these are macros
> used in "src/cmd/cmd_cfin.c", but they are not defined anywhere. Are
> these macros OS specific?

read the documentation and you'll see they're part of POSIX:
http://www.opengroup.org/onlinepubs/9699919799/functions/wait.html
-mike

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to