LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bluewhite64
User Name
Password
Bluewhite64 This forum is for the discussion of Bluewhite64 Linux.

Notices

Reply
 
Search this Thread
Old 06-30-2008, 04:36 AM   #1
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Rep: Reputation: 15
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?
 
Old 07-01-2008, 06:12 AM   #2
arny
Bluewhite64
 
Registered: Jun 2006
Location: Baia Mare, Maramures, Romania
Distribution: Bluewhite
Posts: 87

Rep: Reputation: 17
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.
 
Old 07-01-2008, 03:43 PM   #3
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by arny View Post
Try (first v2.2.105) using one of these version of libsoup:

http://data.linux64packages.net:8080...aries/libsoup/
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
 
Old 07-02-2008, 12:28 AM   #4
arny
Bluewhite64
 
Registered: Jun 2006
Location: Baia Mare, Maramures, Romania
Distribution: Bluewhite
Posts: 87

Rep: Reputation: 17
OK, I made these packages. Remove your libsoup and install this two:

http://data.linux64packages.net:8080...x86_64-1ar.tgz

http://data.linux64packages.net:8080...x86_64-1ar.tgz
 
Old 07-02-2008, 01:03 AM   #5
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by arny View Post

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.
 
Old 07-03-2008, 07:16 AM   #6
arny
Bluewhite64
 
Registered: Jun 2006
Location: Baia Mare, Maramures, Romania
Distribution: Bluewhite
Posts: 87

Rep: Reputation: 17
I have updated the package to display the OS correctly:

http://data.linux64packages.net:8080...x86_64-2ar.tgz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C compiling problem americanforest Linux - Newbie 6 10-16-2007 08:15 PM
Problem Compiling patisawsome Ubuntu 3 03-20-2006 04:44 PM
compiling problem manicman Linux - Newbie 8 01-19-2006 11:54 AM
Compiling Problem... ThE_DeaD Linux - Newbie 10 12-14-2003 03:14 PM
compiling problem with RH 9 tucdual Linux - Distributions 4 08-26-2003 07:03 AM


All times are GMT -5. The time now is 09:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration