|
Author | Thread |
---|---|
Chris |
Published: 2007/6/25 9:56 Updated:
2007/6/25 9:56
|
Amigans Defender
Joined: 11/17/2006
From: England
Comments: 3419
|
Re: Spot's Porting for Dummies 1.6.1 released!
[quote=spot]
We are linking with static libraries, and we need to be tell exactly what to link in. Locate this line in the configure script; LIBS="-lSDL_image $LIBS" SDL_image depends on some more libraries to function correctly, add them like this; LIBS="-lSDL_image -lpng -ljpeg -lz $LIBS" [/quote] It's easier to add the extra libraries to the same line in the .la file, that will sort the issue for all projects and makefiles. Chris |
Raziel |
Published: 2007/6/25 11:23 Updated:
2007/6/25 11:23
|
Home away from home
Joined: 11/26/2006
From: a dying planet
Comments: 5572
|
Re: Spot's Porting for Dummies 1.6.1 released!
@spotty
Thanks a lot for the update, had a few of the messages myself, couldn't figure out what to do ... now i can |
spotUP |
Published: 2007/6/25 12:21 Updated:
2007/6/25 12:21
|
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1492
|
Re: Spot's Porting for Dummies 1.6.1 released!
Chris, they are already there, but it still doesn't work sometimes.
|
spotUP |
Published: 2007/6/25 14:17 Updated:
2007/6/25 14:17
|
Just can't stay away
Joined: 11/26/2006
From:
Comments: 1492
|
Re: Spot's Porting for Dummies 1.6.1 released!
Raziel, this might help you?
In general, when you get an error of this type; warning: implicit declaration of function 'strlen' warning: incompatible implicit declaration of built-in function 'strlen' It means that the sources are missing an include. To find out which include it wants, open a shell and CD to SDK: then do; "grep -R strlen *" in this case you will get a LOT of output, so haing KingCon installed is a good idea. 99% of the info printed is irrelevant, what you are looking for is a header that includes the function the source wants. Includes are stored in SDK:Local/Newlib/Include, SDK:Local/Common/Inclued, SDK:Local/Clib2/Include, SDK:newlib/Include/ and SDK:Clib2/Include. So only check the hits found in those directories. I just wrote it, with you in mind. :) It will be included in the next version. |
Elwood |
Published: 2007/6/27 21:59 Updated:
2007/6/27 21:59
|
Just can't stay away
Joined: 12/09/2006
From: Lyon, France
Comments: 1370
|
Re: Spot's Porting for Dummies 1.6.1 released!
Thanks for your job.
With an earlier version I did a try porting rsync but couldn't. I'll give it another try... bye |