From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sun, 14 Mar 2010 22:42:45 +0100 Subject: [Buildroot] setserial fails to build (after uClibc 0.9.30.3 upgrade?) In-Reply-To: <4B9CBD6D.6010606@gmail.com> (Paulius Zaleckas's message of "Sun, 14 Mar 2010 12:41:49 +0200") References: <4B9CBD6D.6010606@gmail.com> Message-ID: <87k4teziju.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Paulius" == Paulius Zaleckas writes: Hi, Paulius> setserial.c: In function ?print_hayesesp?: Paulius> setserial.c:362: error: storage size of ?esp? isn?t known Paulius> setserial.c: In function ?set_hayesesp?: Paulius> setserial.c:378: error: storage size of ?esp? isn?t known Paulius> setserial.c:384: warning: incompatible implicit declaration of Paulius> built-in function ?exit? Paulius> make[1]: *** [setserial] Error 1 Paulius> make[1]: Leaving directory `/home/paulius/buildroot/output/build/setserial-2.17' Paulius> make: *** [/home/paulius/buildroot/output/build/setserial-2.17/setserial] Error 2 Paulius> Actual problem I see here is not with uClibc, but with setserial.c not including Paulius> stdlib.h. Due to my very limited time I can't provide fix now... No, the stdlib.h stuff is only warnings, the error is that it tries to use a struct hayes_esp_config because the kernel headers on x86 has the TIOCGHAYESESP ioctl defined in asm/ioctls.h (E.G. on ARM it isn't defined, and there it builds). The hayes stuff is for a really ancient driver (which has recently been removed by Alan Cox). As far as I can see, this has nothing to do with uClibc - Did you recently change the kernel headers version? As for a fix - We could add an #undef TIOCGHAYESESP after include , but I would like to know when the problem started first. -- Bye, Peter Korsgaard