bugELIM - Bugs: bug #37805, compilation

 
 

bug #37805: compilation

Submitted by:  None
Submitted on:  Sat 24 Nov 2012 07:52:28 PM UTC  
 
Category: libpurple client/daemon (elim-client)Severity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1