serie.c: In function `Config_port': serie.c:297: error: `CRTSCTS' undeclared (first use in this function) serie.c:297: error: (Each undeclared identifier is reported only once serie.c:297: error: for each function it appears in.) make[2]: *** [serie.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gtkterm-0.99.4/work/gtkterm-0.99.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkterm-0.99.4/work/gtkterm-0.99.4' make: *** [all] Error 2 !!! ERROR: net-dialup/gtkterm-0.99.4 failed. !!! Function src_compile, Line 19, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://www.gigaload.org/gentoo.org/" LC_ALL="en_US.ISO-8859-15" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl divx4linux dvd emboss encode esd fam flac foomaticdb gd gdbm gif gpm gtk gtk2 imagemagick imlib java jikes jpeg junit kde libg++ libwww mad mikmod mmx mmx2 mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis wifi xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUA
Not a blocker and not a kde bug. Please don't assign bugs, if you don't know to whom.
Please post here the compiler command line that generated this error. CRTSCTS appears to be defined in /usr/include/bits/termios.h, file that belong to sys-libs/glibc. I have the same version of glibc as you have but emerge gtkterm works for me. Here is my working command line: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOCALEDIR=\""/usr/share/locale"\" -march=athlon-xp -O3 -pipe -c `test -f 'serie.c' || echo './'`serie.c
(In reply to comment #2) > Please post here the compiler command line that generated this error. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/opt/fdo/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOCALEDIR=\""/usr/share/locale"\" -march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2 -c `test -f 'serie.c' || echo './'`serie.c thanks
it compile good. same results as alin nastac (in /usr/include/bits/termios.h)
Could you investigate where the hell -D_XOPEN_SOURCE=500 came from? I believe this is the reason of the undefined CRTSCTS error.
apparently it came from command `pkg-config --cflags "vte >= 0.10.4"`. try to re-emerge (or maybe upgrade?) vte and post here the output of the above command.
(In reply to comment #6) > try to re-emerge (or maybe upgrade?) vte and post here the output of the above > command. deimos ~ # pkg-config --cflags "vte >= 0.10.4" -D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/opt/fdo/include -I/usr/include/atk-1.0 Thanks,
run the following: cd /usr/portage/x11-libs/vte ebuild vte-0.11.12.ebuild compile and see if you can discover what triggered definition of _XOPEN_SOURCE (search in /var/tmp/portage/vte-0.11.12) gnome peeps, can you help me with that?
(In reply to comment #8) > run the following: > cd /usr/portage/x11-libs/vte > ebuild vte-0.11.12.ebuild compile > and see if you can discover what triggered definition of _XOPEN_SOURCE (search > in /var/tmp/portage/vte-0.11.12) Well, I don't know what I should really look for, but in config files I found something like "#define _XOPEN_SOURCE 1". During the compilation I saw warnings like "../config.h:252:1: warning: "_XOPEN_SOURCE" redefined" Could this be helpfull ?
nope, I have the same message but still -D_XOPEN_SOURCE=500 isn't appended to CFLAGS. you should search for "_XOPEN_SOURCE=500".
_XOPEN_SOURCE=500 shouldn't be there. You should probably figure out why it is there (somehow it was/is defined @ vte compile-time by some lib).
(In reply to comment #11) > _XOPEN_SOURCE=500 shouldn't be there. You should probably figure out why it is > there (somehow it was/is defined @ vte compile-time by some lib). Unfortunately I think this is beyond my skills ... I can only say that I saw '_XOPEN_SOURCE=500' set in Makefile as GTK_CFLAGS and VTE_CFLAGS.
search '_XOPEN_SOURCE=500' in /usr/lib/pkgconfig. what files contains it?
(In reply to comment #13) > search '_XOPEN_SOURCE=500' in /usr/lib/pkgconfig. what files contains it? deimos lib # grep _XOPEN_SOURCE\=500 pkgconfig/* pkgconfig/gdk-2.0.pc:Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include -D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API -I/opt/fdo/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -D_XOPEN_SOURCE=500 -I/opt/fdo/include pkgconfig/gdk-x11-2.0.pc:Cflags: -I${includedir}/gtk-2.0 -I${libdir}/gtk-2.0/include -D_XOPEN_SOURCE=500 -DXTHREADS -DXUSE_MTSAFE_API -I/opt/fdo/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -D_XOPEN_SOURCE=500 -I/opt/fdo/include Thank you
try compiling gtk+ (ebuild gtk+....ebuild compile) and search for the define in source dir (/var/tmp/portage/gtk+*) if you cannot find it, try reemerging gtk+ - maybe it will solve your problem.
(In reply to comment #15) > try compiling gtk+ (ebuild gtk+....ebuild compile) and search for the define in > source dir (/var/tmp/portage/gtk+*) I did it, and I fund no references. > if you cannot find it, try reemerging gtk+ - maybe it will solve your problem. Yes, it solved the problem, thank you very much for the help.
I don't know why gtk+ defined _XOPEN_SOURCE (prolly because some missing header or library) but I'm glad it's fixed now.