Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/libcclc-0.7.1$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
cd cclcfox-0.7.1(make & sudo make install) :-comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ make
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT cclcfox.o -MD -MP -MF ".deps/cclcfox.Tpo" -c -o cclcfox.o cclcfox.cpp; \
then mv -f ".deps/cclcfox.Tpo" ".deps/cclcfox.Po"; else rm -f ".deps/cclcfox.Tpo"; exit 1; fi
cclcfox.cpp: In member function ‘void CCLCFox::showMessage(char*)’:
cclcfox.cpp:272:76: warning: format not a string literal and no format arguments [-Wformat-security]
cclcfox.cpp: In member function ‘void CCLCFox::turnOffMonitor()’:
cclcfox.cpp:261:32: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
cclcfox.cpp: In member function ‘void CCLCFox::rebootSystem()’:
cclcfox.cpp:231:25: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
cclcfox.cpp: In member function ‘void CCLCFox::shutdownSystem()’:
cclcfox.cpp:201:23: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cpp; \
then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT locker.o -MD -MP -MF ".deps/locker.Tpo" -c -o locker.o locker.cpp; \
then mv -f ".deps/locker.Tpo" ".deps/locker.Po"; else rm -f ".deps/locker.Tpo"; exit 1; fi
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"cclcfox\" -DVERSION=\"0.7.1\" -DX_DISPLAY_MISSING=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBFOX_1_6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBCCLC=1 -I. -I. -I/usr/local/include/ -I/usr/X11R6/include -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [all-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ make
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making all in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [all-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ sudo make install
Making install in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making install in m4
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Entering directory `/home/comp30/cclcfox-0.7.1/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/m4'
Making install in src
make[1]: Entering directory `/home/comp30/cclcfox-0.7.1/src'
g++ -g -O2 -o cclcfox cclcfox.o gui.o locker.o lockpix.o main.o -lcclc -lFOX-1.6
/usr/bin/ld: gui.o: undefined reference to symbol 'XGrabKey'
/usr/bin/ld: note: 'XGrabKey' is defined in DSO /usr/lib/i386-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [cclcfox] Error 1
make[1]: Leaving directory `/home/comp30/cclcfox-0.7.1/src'
make: *** [install-recursive] Error 1
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/cclcfox-0.7.1$ cd cclcfox-0.7.1
Please Advice
comp30@comp30-HP-Compaq-dc7100-SFF-PN924US:~/libcclc-0.7.1$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Please Advice
"Please advice" with WHAT?? You don't tell us what version/distro of Linux you're running, where you got this particular libcclc package, why you're not installing from a package, what the installation guide/notes tell you, what you've actually done, etc. Wild guess: try installing/making as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.