bugELIM - Bugs: bug #37805, compilation

 
 

bug #37805: compilation

Submitter:  None
Submitted:  Sat 24 Nov 2012 07:52:28 PM UTC
   
 
Category:  libpurple client/daemon (elim-client) Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Nov 2012 07:52:28 PM UTC, original submission:  

While building the elim-client on Arch64, the last step fails with the following error message:

cc  -lglib-2.0    -lxml2    -lpurple -lglib-2.0     elim-client.o elim-glibcompat.o elim-rpc.o prpl/util.o xnode/xnode.o sexp/sexp-xml.o sexp/sexp-util.o ui_ops/conversation_ui_ops.o ui_ops/eventloop_ui_ops.o ui_ops/notify_ui_ops.o ui_ops/request_ui_ops.o ui_ops/idle_ui_ops.o ui_ops/connections_ui_ops.o ui_ops/core_ui_ops.o ui_ops/blist_ui_ops.o ui_ops/account_ui_ops.o handlers/response.o handlers/add_chat.o handlers/message.o handlers/buddy_privacy.o handlers/notify_search_callback.o handlers/disconnect.o handlers/connect.o handlers/list_accounts.o handlers/remove_buddy.o handlers/get_prefs.o handlers/init.o handlers/command.o handlers/unregister.o handlers/send_file.o handlers/set_prefs.o handlers/set_icon.o handlers/chat_params.o handlers/add_account.o handlers/default.o handlers/add_buddy.o handlers/list_protocols.o handlers/remove_account.o handlers/join_chat.o handlers/buddy_info.o handlers/load_plugin.o handlers/register.o handlers/list_plugins.o handlers/alias_bnode.o handlers/debug_mode.o handlers/account_menu.o handlers/account_options.o handlers/enumerations.o handlers/image.o handlers/account_menu_action.o handlers/status.o handlers/end_conversation.o handlers/buddy_menu.o handlers/buddy_menu_action.o handlers/set_account_options.o signals/file_transfers.o elim-func-handlers.o   -o elim-client
/usr/bin/ld: xnode/xnode.o: undefined reference to symbol 'log10@@GLIBC_2.2.5'
/usr/bin/ld: note: 'log10@@GLIBC_2.2.5' is defined in DSO /usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: * [elim-client] Error 1

anyhow, adding a '-lm' to the LDFLAGS variable fixes this

LDFLAGS     += -lm $(foreach P, $(PACKAGES), \
                         $(shell pkg-config --libs   $(subst $s,$S,$P)))

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code