[Scilab-Dev] Build Scilab-5.2.0 :: Conflict with 2 includes

Sylvestre Ledru sylvestre.ledru at scilab.org
Fri Dec 25 20:19:19 CET 2009


Hello Nicolas,


> Hello,
> 
> (I'm on a x86_64 with RHE4 64b )
> I have 2 errors during compilation in 2 files
> ./modules/shell/src/c/others/zzledt.c and
> ./modules/shell/src/c/scilines.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../modul[...]
> src/c/scilines.c  [...]
> In file included from src/c/scilines.c:35:
> /usr/include/term.h:772: error: conflicting types for 'tgetstr'
> /usr/include/termcap.h:46: error: previous declaration of 'tgetstr' was
> here
> /usr/include/term.h:774: error: conflicting types for 'tgetent'
> /usr/include/termcap.h:43: error: previous declaration of 'tgetent' was
> here
> [...]
> make: *** [all-recursive] Error 1
The attached patches should fix it.

Thanks for reporting the issue.
Sylvestre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Switch-the-order-of-the-include.-Caused-issues-under.patch
Type: text/x-patch
Size: 2203 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20091225/8d5a885a/attachment.bin>


More information about the dev mailing list