Bluewhite64 This forum is for the discussion of Bluewhite64 Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
06-30-2008, 04:36 AM
|
#1
|
Member
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126
Rep:
|
Problem compiling Hardinfo (BW64 12.1)
When I run make, I get this error when trying to compile Hardinfo,
Code:
ToscoConf (version 0.04) for hardinfo version 0.4.2.3
Determining system architecture.
Compiling hardinfo for Linux x86_64 (ARCH_x86_64).
Checking for lspci... /sbin/lspci
Checking for GTK version >= 2.6.0... found 2.12.9
Checking for libsoup version >= 2.2.7... found 2.2.105
Writing config.h...
Writing Makefile...
Done. Type "make" to compile the program.
If you get errors, probably you don't have the right libraries,
includes or utilities. However, if you're sure this is a bug in my
code, please send a patch (use "diff -u") to <leandro@linuxmag.com.br>.
ben@cosmos:~/Desktop/hardinfo-0.4.2.3$ make
gcc -g -fPIC -pipe -Wall -g -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libsoup-2.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I. -o hardinfo -Wl,-export-dynamic hardinfo.o shell.o util.o iconcache.o loadgraph.o sha1.o md5.o menu.o stock.o callbacks.o expr.o report.o blowfish.o binreloc.o vendor.o socket.o fbench.o syncmanager.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
-lsoup-2.2 -lglib-2.0 -lxml2 -lz -lm -lgnutls -lgcrypt -lgpg-error
/usr/lib/gcc/x86_64-pc-linux/4.2.3/../../../../lib/libsoup-2.2.so: undefined reference to `g_assertion_message'
collect2: ld returned 1 exit status
make: *** [all] Error 1
Anyone know what this means? Or does anyone know where I can download Hardinfo for Bluewhite64?
|
|
|
07-01-2008, 06:12 AM
|
#2
|
Bluewhite64
Registered: Jun 2006
Location: Baia Mare, Maramures, Romania
Distribution: Bluewhite
Posts: 87
Rep:
|
Try (first v2.2.105) using one of these version of libsoup:
http://data.linux64packages.net:8080...aries/libsoup/
Last edited by arny; 07-01-2008 at 06:18 AM.
|
|
|
07-01-2008, 03:43 PM
|
#3
|
Member
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126
Original Poster
Rep:
|
Quote:
Originally Posted by arny
|
libsoup-2.23.1 gives me,
Code:
ToscoConf (version 0.04) for hardinfo version 0.4.2.3
Determining system architecture.
Compiling hardinfo for Linux x86_64 (ARCH_x86_64).
Checking for lspci... /sbin/lspci
Checking for GTK version >= 2.6.0... found 2.12.9
Checking for libsoup version >= 2.2.7... not found.
Disabling libsoup support. (Network Updater won't be available.)
Writing config.h...
Writing Makefile...
Done. Type "make" to compile the program.
If you get errors, probably you don't have the right libraries,
includes or utilities. However, if you're sure this is a bug in my
code, please send a patch (use "diff -u") to <leandro@linuxmag.com.br>.
ben@cosmos:~/Desktop/hardinfo-0.4.2.3$ make
gcc -g -fPIC -pipe -Wall -g -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -o hardinfo -Wl,-export-dynamic hardinfo.o shell.o util.o iconcache.o loadgraph.o sha1.o md5.o menu.o stock.o callbacks.o expr.o report.o blowfish.o binreloc.o vendor.o socket.o fbench.o syncmanager.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
hardinfo.o: In function `main':
/home/ben/Desktop/hardinfo-0.4.2.3/hardinfo.c:40: undefined reference to `g_thread_init'
syncmanager.o: In function `_soup_get_xmlrpc_value':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:157: undefined reference to `soup_xmlrpc_message_get_type'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:157: undefined reference to `soup_xmlrpc_message_parse_response'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:164: undefined reference to `soup_xmlrpc_response_get_value'
syncmanager.o: In function `_soup_get_xmlrpc_value_int':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:186: undefined reference to `soup_xmlrpc_value_get_int'
syncmanager.o: In function `_soup_get_xmlrpc_value_string':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:206: undefined reference to `soup_xmlrpc_value_get_string'
syncmanager.o: In function `_soup_xmlrpc_call':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:221: undefined reference to `soup_xmlrpc_message_new'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:226: undefined reference to `soup_xmlrpc_message_start_call'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:227: undefined reference to `soup_xmlrpc_message_end_call'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:229: undefined reference to `soup_xmlrpc_message_persist'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:231: undefined reference to `soup_message_get_type'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:231: undefined reference to `soup_session_queue_message'
syncmanager.o: In function `_soup_xmlrpc_call_with_parameters':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:248: undefined reference to `soup_xmlrpc_message_new'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:253: undefined reference to `soup_xmlrpc_message_start_call'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:257: undefined reference to `soup_xmlrpc_message_start_param'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:258: undefined reference to `soup_xmlrpc_message_write_string'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:259: undefined reference to `soup_xmlrpc_message_end_param'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:265: undefined reference to `soup_xmlrpc_message_end_call'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:266: undefined reference to `soup_xmlrpc_message_persist'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:268: undefined reference to `soup_message_get_type'
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:268: undefined reference to `soup_session_queue_message'
syncmanager.o: In function `_cancel_sync':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:372: undefined reference to `soup_session_abort'
syncmanager.o: In function `sync_manager_get_proxy':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:424: undefined reference to `soup_uri_new'
syncmanager.o: In function `sync_dialog_start_sync':
/home/ben/Desktop/hardinfo-0.4.2.3/syncmanager.c:435: undefined reference to `soup_session_async_new_with_options'
collect2: ld returned 1 exit status
make: *** [all] Error 1
|
|
|
07-02-2008, 12:28 AM
|
#4
|
Bluewhite64
Registered: Jun 2006
Location: Baia Mare, Maramures, Romania
Distribution: Bluewhite
Posts: 87
Rep:
|
|
|
|
07-02-2008, 01:03 AM
|
#5
|
Member
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126
Original Poster
Rep:
|
Quote:
Originally Posted by arny
|
Thanks a lot! I really appreciate the effort.
By the way, I noticed under "distribution", it says "unknown". I discovered a simple fix for this. Create a text file in the /etc directory called "slackware-version", and type Bluewhite64 12.1. It appears that is all Hardinfo does to figure out distro information. Maybe let the Hardinfo maintainer know about this and he can properly fix it.
Last edited by Crushing Belial; 07-02-2008 at 01:28 AM.
|
|
|
All times are GMT -5. The time now is 03:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|