trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

basket notepad failure (oh no!) - 'getuid' was not declared in this scope ??

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 10 Apr 2012 13:11:20 -0500
All,

  This is my goto app that was building fine, now I get a "'getuid' was not
declared in this scope" error? What is that? Full error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT
-D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -MT password.lo -MD -MP -MF .deps/password.Tpo -c
password.cpp  -fPIC -DPIC -o .libs/password.o
kicondialog.cpp: In member function 'const TQString&
KIconButton::customLocation() const':
kicondialog.cpp:509:61: warning: returning reference to temporary [enabled by
default]
likeback.cpp: In member function 'void LikeBack::fetchUserEmail()':
likeback.cpp:618:23: error: 'getuid' was not declared in this scope
mv -f .deps/kiconcanvas.Tpo .deps/kiconcanvas.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_LARGE_FILES=1  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt  -MT colorpicker.lo -MD -MP -MF
.deps/colorpicker.Tpo -c -o colorpicker.lo colorpicker.cpp
make[2]: *** [likeback.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT
-D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -MT colorpicker.lo -MD -MP -MF .deps/colorpicker.Tpo -c
colorpicker.cpp  -fPIC -DPIC -o .libs/colorpicker.o
mv -f .deps/kicondialog.Tpo .deps/kicondialog.Plo
mv -f .deps/password.Tpo .deps/password.Plo
mv -f .deps/colorpicker.Tpo .deps/colorpicker.Plo
make[2]: Leaving directory `/build/src/basket/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/basket'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

-- 
David C. Rankin, J.D.,P.E.