← Back to team overview

elementary-dev-community team mailing list archive

Re: Can't build power plug

 

I used to get that error and removing --thread flag solved it but its not a permanent solution.

On Sep 21, 2012, at 7:52 PM, Dane Henson <dane@xxxxxxxxxxxxxxxx> wrote:

> I encountered the same issue on the info-plug that was recently removed from the official list.  I still haven't figured out how to resolve it.  Maybe some of the build system needs to be updated?  The last time the info-plug had any sort of update was a year ago I think.
> 
> On Thu, Sep 20, 2012 at 2:50 PM, Chris Triantafillis <christriant1995@xxxxxxxxx> wrote:
>> Hello, 
>> 
>> i'm trying to build power plug https://code.launchpad.net/~elementary-os/pantheon-plugs/power-plug but i get an error
>> 
>> chris@chris-Aspire-5732Z:~/Projects/power-plug/build$ make
>> Linking C executable power
>> CMakeFiles/power.dir/src/power.c.o: In function `main':
>> power.c:(.text+0x2dc3): undefined reference to `g_thread_init'
>> collect2: ld returned 1 exit status
>> make[2]: *** [power] Error 1
>> make[1]: *** [CMakeFiles/power.dir/all] Error 2
>> make: *** [all] Error 2
>> 
>> 
>> Any help?
>> 
>> -- 
>> Best Regards, 
>> Chris Triantafillis
>> 
> 
> -- 
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to     : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help   : https://help.launchpad.net/ListHelp

References