Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  SDL fails for Buildroot arm926ejs toolchain
@ 2007-11-19 10:05 Hebbar
  2007-11-19 11:36 ` Ivan Kuten
  0 siblings, 1 reply; 6+ messages in thread
From: Hebbar @ 2007-11-19 10:05 UTC (permalink / raw)
  To: buildroot


Hi all,

I am trying to build arm926ejs toolchain (little endian, uclibc 0.9.29, gcc
4.2.1) with sdl enabled.
While building sdl fails with below error. Kindly help me to solve it. I
searched google and  found from link that its related to machine hardware
name. 

http://www.gp32x.com/board/index.php?showtopic=38956&pid=562697&mode=threaded&show=&st=&


/usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be
neither x86_64 nor i386.
./src/stdlib/SDL_iconv.c: In function 'SDL_iconv':
./src/stdlib/SDL_iconv.c:54: error: 'E2BIG' undeclared (first use in this
function)
./src/stdlib/SDL_iconv.c:54: error: (Each undeclared identifier is reported
only once
./src/stdlib/SDL_iconv.c:54: error: for each function it appears in.)
./src/stdlib/SDL_iconv.c:56: error: 'EILSEQ' undeclared (first use in this
function)
./src/stdlib/SDL_iconv.c:58: error: 'EINVAL' undeclared (first use in this
function)
make[1]: *** [build/SDL_iconv.lo] Error 1
make[1]: Leaving directory
`/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12'
make: ***
[/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12/.compiled]
Error 2

   Also when i looked inside "/usr/include/asm" of buildrrot toolchain
directory i found that SDL is presently taking /usr from root of my linux OS
and not from Buildroot toolchain /usr directory.



Thanks in advance

Regards
Gururaja
-- 
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13830846
Sent from the BuildRoot mailing list archive at Nabble.com.

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

* [Buildroot] SDL fails for Buildroot arm926ejs toolchain
  2007-11-19 10:05 [Buildroot] SDL fails for Buildroot arm926ejs toolchain Hebbar
@ 2007-11-19 11:36 ` Ivan Kuten
  2007-11-20  0:09   ` Hebbar
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-11-19 11:36 UTC (permalink / raw)
  To: buildroot

Hebbar wrote:
> Hi all,
> 
> I am trying to build arm926ejs toolchain (little endian, uclibc 0.9.29, gcc
> 4.2.1) with sdl enabled.
> While building sdl fails with below error. Kindly help me to solve it. I
> searched google and  found from link that its related to machine hardware
> name. 
> 
> http://www.gp32x.com/board/index.php?showtopic=38956&pid=562697&mode=threaded&show=&st=&
> 
> 
> /usr/include/asm/errno.h:9:4: warning: #warning This machine appears to be
> neither x86_64 nor i386.
> ./src/stdlib/SDL_iconv.c: In function 'SDL_iconv':
> ./src/stdlib/SDL_iconv.c:54: error: 'E2BIG' undeclared (first use in this
> function)
> ./src/stdlib/SDL_iconv.c:54: error: (Each undeclared identifier is reported
> only once
> ./src/stdlib/SDL_iconv.c:54: error: for each function it appears in.)
> ./src/stdlib/SDL_iconv.c:56: error: 'EILSEQ' undeclared (first use in this
> function)
> ./src/stdlib/SDL_iconv.c:58: error: 'EINVAL' undeclared (first use in this
> function)
> make[1]: *** [build/SDL_iconv.lo] Error 1
> make[1]: Leaving directory
> `/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12'
> make: ***
> [/home/guru/project/original/bldrt/buildroot/build_arm/SDL-1.2.12/.compiled]
> Error 2
> 
>    Also when i looked inside "/usr/include/asm" of buildrrot toolchain
> directory i found that SDL is presently taking /usr from root of my linux OS
> and not from Buildroot toolchain /usr directory.
> 
> 
> 
> Thanks in advance
> 
> Regards
> Gururaja

Hi,

Please post your output of configure. I have SDL-1.2.12 built ok and headers are taken from staging_dir.

Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

* [Buildroot] SDL fails for Buildroot arm926ejs toolchain
  2007-11-19 11:36 ` Ivan Kuten
@ 2007-11-20  0:09   ` Hebbar
  2007-11-20 12:07     ` Ivan Kuten
  0 siblings, 1 reply; 6+ messages in thread
From: Hebbar @ 2007-11-20  0:09 UTC (permalink / raw)
  To: buildroot


Hi Ivan

 I am using version SDL-1.2.12. Below is SDL Config.log and SDL configure
items inside .config from buildroot directory.

  $ ./configure --target=arm-linux --host=arm-linux
--build=i386-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/bin
--sbindir=/sbin --libdir=/lib --libexecdir=/lib --sysconfdir=/etc
--datadir=/share --localstatedir=/var --includedir=/include --mandir=/man
--infodir=/info --enable-pulseaudio=no --disable-arts --disable-esd
--disable-nasm --enable-video-fbcon=yes --enable-video-directfb=yes
--enable-video-qtopia=no --enable-video-x11=yes

BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_NCURSES_TARGET_HEADERS=y

# graphic libraries
#
BR2_PACKAGE_DIRECTFB=y
BR2_PACKAGE_DIRECTFB_MULTI=y
# BR2_PACKAGE_IMAGEMAGICK is not set
BR2_PACKAGE_JPEG=y
BR2_PACKAGE_LIBPNG=y
BR2_PACKAGE_LIBUNGIF=y
BR2_PACKAGE_SDL=y

#
# SDL options selection
#
BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
# BR2_PACKAGE_SDL_QTOPIA is not set
BR2_PACKAGE_SDL_X11=y
# BR2_PACKAGE_SDL_TTF is not set
# BR2_PACKAGE_TIFF is not set

BR2_PACKAGE_FBV=y

# BR2_PACKAGE_QTE is not set
# BR2_PACKAGE_QTOPIA4 is not set
BR2_PACKAGE_XSERVER_none=y
# BR2_PACKAGE_XSERVER_x11r7 is not set
# BR2_PACKAGE_XSERVER_xorg is not set
# BR2_PACKAGE_XSERVER_tinyx is not set
BR2_X11_PREFIX="/usr"

#
# X libraries and helper libraries
#
# BR2_PACKAGE_ATK is not set
# BR2_PACKAGE_PANGO is not set
# BR2_PACKAGE_LIBDRM is not set
# BR2_PACKAGE_LIBGLIB12 is not set
BR2_PACKAGE_LIBGLIB2=y
BR2_PACKAGE_FONTCONFIG=y
BR2_PACKAGE_FREETYPE=y
# BR2_FREETYPE_VERSION_2_2_1 is not set
BR2_FREETYPE_VERSION_2_3_5=y
BR2_FREETYPE_VERSION="2.3.5"
BR2_PACKAGE_TSLIB=y

Thanks in advance

Regards
Gururaja

Hi,

Please post your output of configure. I have SDL-1.2.12 built ok and headers
are taken from staging_dir.

Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot



-- 
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13848331
Sent from the BuildRoot mailing list archive at Nabble.com.

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

* [Buildroot] SDL fails for Buildroot arm926ejs toolchain
  2007-11-20 12:07     ` Ivan Kuten
@ 2007-11-20 11:32       ` Hebbar
  2007-11-20 12:57         ` Ivan Kuten
  0 siblings, 1 reply; 6+ messages in thread
From: Hebbar @ 2007-11-20 11:32 UTC (permalink / raw)
  To: buildroot


Hi Ivan

I removed BR2_PACKAGE_SDL_X11 and it worked fine.

BR2_PACKAGE_SDL_FBCON=y
BR2_PACKAGE_SDL_DIRECTFB=y
# BR2_PACKAGE_SDL_QTOPIA is not set
# BR2_PACKAGE_SDL_X11 is not set
# BR2_PACKAGE_SDL_TTF is not

Thanks for the help.

Regards
Gururaja


Ivan Kuten wrote:
> 
> Hebbar wrote:
>> 
>> #
>> # SDL options selection
>> #
>> BR2_PACKAGE_SDL_FBCON=y
>> BR2_PACKAGE_SDL_DIRECTFB=y
>> # BR2_PACKAGE_SDL_QTOPIA is not set
>> BR2_PACKAGE_SDL_X11=y
>> # BR2_PACKAGE_SDL_TTF is not set
>> # BR2_PACKAGE_TIFF is not set
>> 
> 
> Try enabling only BR2_PACKAGE_SDL_FBCON=y
> 
> Regards,
> Ivan
> --------------------------------
> Embedded Linux engineer,
> Promwad Company: http://www.promwad.com/
> Homepage : http://www.ivankuten.com/
> --------------------------------
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
> 
> 

-- 
View this message in context: http://www.nabble.com/SDL-fails-for-Buildroot-arm926ejs-toolchain-tf4834503.html#a13855274
Sent from the BuildRoot mailing list archive at Nabble.com.

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

* [Buildroot] SDL fails for Buildroot arm926ejs toolchain
  2007-11-20  0:09   ` Hebbar
@ 2007-11-20 12:07     ` Ivan Kuten
  2007-11-20 11:32       ` Hebbar
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-11-20 12:07 UTC (permalink / raw)
  To: buildroot

Hebbar wrote:
> 
> #
> # SDL options selection
> #
> BR2_PACKAGE_SDL_FBCON=y
> BR2_PACKAGE_SDL_DIRECTFB=y
> # BR2_PACKAGE_SDL_QTOPIA is not set
> BR2_PACKAGE_SDL_X11=y
> # BR2_PACKAGE_SDL_TTF is not set
> # BR2_PACKAGE_TIFF is not set
> 

Try enabling only BR2_PACKAGE_SDL_FBCON=y

Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

* [Buildroot] SDL fails for Buildroot arm926ejs toolchain
  2007-11-20 11:32       ` Hebbar
@ 2007-11-20 12:57         ` Ivan Kuten
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Kuten @ 2007-11-20 12:57 UTC (permalink / raw)
  To: buildroot

Hebbar wrote:
> Hi Ivan
> 
> I removed BR2_PACKAGE_SDL_X11 and it worked fine.
> 

I'd suggest for you to open a bug in bug tracking and
post your configs, config.log


Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

end of thread, other threads:[~2007-11-20 12:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19 10:05 [Buildroot] SDL fails for Buildroot arm926ejs toolchain Hebbar
2007-11-19 11:36 ` Ivan Kuten
2007-11-20  0:09   ` Hebbar
2007-11-20 12:07     ` Ivan Kuten
2007-11-20 11:32       ` Hebbar
2007-11-20 12:57         ` Ivan Kuten

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