|
From: | Morrison, Tom |
Subject: | [Ltib] Strange Problem in building a package... |
Date: | Sat, 14 Mar 2009 13:10:04 -0400 |
Hi Everyone (and Stuart)… I have a very strange problem that has just arisen, and
perhaps somebody can steer me in the right direction towards figuring out why this happening
(and how to fix it)… Anyways, I have an LTIB package (iiiasn1.spec) that I have
built many times (on an old workstation (Fedora 6)), but now I am using a Suse 10.1
system, and I am getting a very strange error in attempting to build this specific
package (and a ton of packages built correctly before this one gets built)… The worst part is that I should know this nuance to be able
to track down this problem with potential Cross Compiler problem – but this is so
simple, it baffles me)? Here is the error make[1]:
Entering directory
`/home/tmorrison/ltib/ltib-mpc8548cds-20061205/rpm/BUILD/iiiasn1-2_12' Making
all in asnparser make[2]:
Entering directory
`/home/tmorrison/ltib/ltib-mpc8548cds-20061205/rpm/BUILD/iiiasn1-2_12/asnparser' /usr/bin/gcc
-B/usr/bin// -DHAVE_CONFIG_H -I. - asn_lex.l:
In function `int IsUpper(const char*)': asn_lex.l:87:
warning: NULL used in arithmetic <stdout>:
In function `void yy_init_buffer(yy_buffer_state*, FILE*)': <stdout>:2607:
error: `isatty' undeclared (first use this function) <stdout>:2607:
error: (Each undeclared identifier is reported only once for
each function it appears in.) make[2]:
*** [asn_lex.o] Error 1 make[2]:
Leaving directory
`/home/tmorrison/ltib/ltib-mpc8548cds-20061205/rpm/BUILD/iiiasn1-2_12/asnparser' make[1]:
*** [all-recursive] Error 1 make[1]:
Leaving directory `/home/tmorrison/ltib/ltib-mpc8548cds-20061205/rpm/BUILD/iiiasn1-2_12' make:
*** [all] Error 2 error:
Bad exit status from
/home/tmorrison/ltib/ltib-mpc8548cds-20061205/tmp/rpm-tmp.53600 (%build) I thought that *isatty*
is a standard gcc and I include both unistd.h
in this function, but still NO go? In other packages built before this – there are a ton
of ‘isatty()’ that are used? I am a little out of my league when it comes to this nuance
(of the indirection to the Cross Compiler…etc)… Any and all help would be appreciated! Tom
Morrison EMPIRIX |
[Prev in Thread] | Current Thread | [Next in Thread] |