Talk:Theos/Setup: Difference between revisions

Discussion page of Theos/Setup
No edit summary
Line 22: Line 22:


I may be able to debug this, but I expect someone else already has.  Any help for me? [[User:MichaelCrawford|MichaelCrawford]] ([[User talk:MichaelCrawford|talk]]) 22:29, 7 February 2015 (PST)
I may be able to debug this, but I expect someone else already has.  Any help for me? [[User:MichaelCrawford|MichaelCrawford]] ([[User talk:MichaelCrawford|talk]]) 22:29, 7 February 2015 (PST)
=== This Works ===
<pre>git clone https://github.com/daeken/ldid.git</pre>

Revision as of 07:14, 8 February 2015

Included is a link to sdk300.deb which is not legal to distribute. This should be remedied. --rpetrich

Replaced coredev.nl repo with coolstar's. It has a newer Perl, which doesn't need patching, and also doesn't need 9000+ dependencies ;) --Domo

ldid installation is broken for me

I'm using Linux Mint 17.1 Cinnamon.

The "-arch" flag only exists in Darwin builds of g++. One can use "-march" on Linux, however "-arch" is used on OS X to produce binaries that have more than one executable in a given file. "-march" only permits one kind of executable, so the compile would have to be run twice.

I tried:

# g++ -o ldid ldid.cpp -I. -x c lookup2.c sha1.c

Which yielded:

/tmp/ccfOZ588.o: In function `sha1(unsigned char*, unsigned char*, unsigned long)':
ldid.cpp:(.text+0x55b): undefined reference to `SHA1Reset'
ldid.cpp:(.text+0x577): undefined reference to `SHA1Input'
ldid.cpp:(.text+0x58a): undefined reference to `SHA1Result'
collect2: error: ld returned 1 exit status

I may be able to debug this, but I expect someone else already has. Any help for me? MichaelCrawford (talk) 22:29, 7 February 2015 (PST)

This Works

git clone https://github.com/daeken/ldid.git