Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Fwd: Re:  SDL_image, SDL_ttf & Co (libpng12.So bug)]
       [not found] <456AE31F.9020200@elaxys.com.br>
@ 2006-11-27 13:22 ` Claudio Leonel
  2006-11-27 17:27   ` julien.boibessot at free.fr
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Leonel @ 2006-11-27 13:22 UTC (permalink / raw)
  To: buildroot

Hi,

I was using buildroot version 20061111 and managed to
compile SDL_image including the following flags (LDFLAGS) for the
linker.

$(SDL_IMAGE_DIR)/.compiled: $(SDL_IMAGE_DIR)/.configured
	$(MAKE) LDFLAGS=$(STAGING_DIR)/lib/libpng12.so -C $(SDL_IMAGE_DIR)
	touch $(SDL_IMAGE_DIR)/.compiled

I checked the dependencies of the generated libSDL_image.so
file and it seemed OK, but I haven't tested it yet in
the target.


But then I changed to a newer buildroot version: 20061124
and the previous modification was not enough, other linker
errors appeared, regarding the host directfb library.

I had to change the sdl.mk for SDL adding the following line
to configure:
	--disable-video-directfb

(I am not using directfb, only the framebuffer)


I am now having problems compiling SDL_ttf ...


Regards,


> Hi,
> 
> I have tried an older Buildroot version (20060217) and SDL_image is compiling
> fine. uClibc version is the same (0.9.28) than on my "non working" Buildroot
> snapshot (20060908).
> 
> Claudio, which Buildroot version are you using ?
> 
> Does somebody from buildroot team working on the very similar
> DirectFB/libpng12.so bug (ID 959) has already found something ?
> 
> regards,
> Julien
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Fwd: Re:  SDL_image, SDL_ttf & Co (libpng12.So bug)]
  2006-11-27 13:22 ` [Buildroot] [Fwd: Re: SDL_image, SDL_ttf & Co (libpng12.So bug)] Claudio Leonel
@ 2006-11-27 17:27   ` julien.boibessot at free.fr
  2006-11-29 11:14     ` Claudio Leonel
  0 siblings, 1 reply; 4+ messages in thread
From: julien.boibessot at free.fr @ 2006-11-27 17:27 UTC (permalink / raw)
  To: buildroot

Hi,

> I was using buildroot version 20061111 and managed to
> compile SDL_image including the following flags (LDFLAGS) for the
> linker.
>
> $(SDL_IMAGE_DIR)/.compiled: $(SDL_IMAGE_DIR)/.configured
> 	$(MAKE) LDFLAGS=$(STAGING_DIR)/lib/libpng12.so -C $(SDL_IMAGE_DIR)
> 	touch $(SDL_IMAGE_DIR)/.compiled
>

Well I investigate a little too and find that when removing "showimage" example
compilation from Makefile, then I was able to compile SDL_image. (The error on
libpng12.so is during showimage tool link.) But if think your solution is
cleaner
;-)

> I had to change the sdl.mk for SDL adding the following line
> to configure:
> 	--disable-video-directfb
>
ok ,thanks for the tip !

> I am now having problems compiling SDL_ttf ...

I had problems too :-). I suppose you have the same: missing OpenGL library.
I was able to compile SDL_ttf (2.0.8) when adding the following options to
configure:
        --disable-sdltest
	--without-x
	--disable-opengl

I attach my SDL_ttf makefile if it can help you. Let me know if it solves your
problem !

regards,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl_ttf.mk
Type: application/octet-stream
Size: 2218 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061127/d139ca79/attachment.obj 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Fwd: Re:  SDL_image, SDL_ttf & Co (libpng12.So bug)]
  2006-11-27 17:27   ` julien.boibessot at free.fr
@ 2006-11-29 11:14     ` Claudio Leonel
  2006-11-29 15:38       ` julien.boibessot at free.fr
  0 siblings, 1 reply; 4+ messages in thread
From: Claudio Leonel @ 2006-11-29 11:14 UTC (permalink / raw)
  To: buildroot

Hi,

Thanks, using this flags in configure, SDL_ttf
compiled OK !

Regards,


julien.boibessot at free.fr wrote:
> Hi,
> 
> 
>>I was using buildroot version 20061111 and managed to
>>compile SDL_image including the following flags (LDFLAGS) for the
>>linker.
>>
>>$(SDL_IMAGE_DIR)/.compiled: $(SDL_IMAGE_DIR)/.configured
>>	$(MAKE) LDFLAGS=$(STAGING_DIR)/lib/libpng12.so -C $(SDL_IMAGE_DIR)
>>	touch $(SDL_IMAGE_DIR)/.compiled
>>
> 
> 
> Well I investigate a little too and find that when removing "showimage" example
> compilation from Makefile, then I was able to compile SDL_image. (The error on
> libpng12.so is during showimage tool link.) But if think your solution is
> cleaner
> ;-)
> 
> 
>>I had to change the sdl.mk for SDL adding the following line
>>to configure:
>>	--disable-video-directfb
>>
> 
> ok ,thanks for the tip !
> 
> 
>>I am now having problems compiling SDL_ttf ...
> 
> 
> I had problems too :-). I suppose you have the same: missing OpenGL library.
> I was able to compile SDL_ttf (2.0.8) when adding the following options to
> configure:
>         --disable-sdltest
> 	--without-x
> 	--disable-opengl
> 
> I attach my SDL_ttf makefile if it can help you. Let me know if it solves your
> problem !
> 
> regards,
> Julien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Fwd: Re:  SDL_image, SDL_ttf & Co (libpng12.So bug)]
  2006-11-29 11:14     ` Claudio Leonel
@ 2006-11-29 15:38       ` julien.boibessot at free.fr
  0 siblings, 0 replies; 4+ messages in thread
From: julien.boibessot at free.fr @ 2006-11-29 15:38 UTC (permalink / raw)
  To: buildroot

Hi,

I have tried your "trick" for SDL_image compilation and even if I put the
LDFLAGS you advised I always have the same link error (/usr/lib/libpng12.so pb)

Are you sure it was the only thing you changed ?

Thanks,
Julien

Quoting Claudio Leonel <cls@elaxys.com.br>:

> >>I was using buildroot version 20061111 and managed to
> >>compile SDL_image including the following flags (LDFLAGS) for the
> >>linker.
> >>
> >>$(SDL_IMAGE_DIR)/.compiled: $(SDL_IMAGE_DIR)/.configured
> >>	$(MAKE) LDFLAGS=$(STAGING_DIR)/lib/libpng12.so -C $(SDL_IMAGE_DIR)
> >>	touch $(SDL_IMAGE_DIR)/.compiled
> >>
> >
> >

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-29 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <456AE31F.9020200@elaxys.com.br>
2006-11-27 13:22 ` [Buildroot] [Fwd: Re: SDL_image, SDL_ttf & Co (libpng12.So bug)] Claudio Leonel
2006-11-27 17:27   ` julien.boibessot at free.fr
2006-11-29 11:14     ` Claudio Leonel
2006-11-29 15:38       ` julien.boibessot at free.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox