nanogui: Re: Problem x-compiling JPEG libraries


Previous by date: 18 Jan 2001 14:40:13 -0000 Re: System hangs in SCR_FB.C in tty ioctl, Jordan Crouse
Next by date: 18 Jan 2001 14:40:13 -0000 Re: System hangs in SCR_FB.C in tty ioctl, Martin_Doering.mn.man.de
Previous in thread:
Next in thread:

Subject: Re: Problem x-compiling JPEG libraries
From: Supriyo ####@####.####
Date: 18 Jan 2001 14:40:13 -0000
Message-Id: <20010118144412.13771.qmail@web4401.mail.yahoo.com>

So you mean you just did the following?

1. cp makefile.ansi Makefile
2. export AR, AS, CC, CXX and so on....
3. make

hmm...sounds strange as if you don't use make -e, then
you'll be using gcc instead of arm-linux-gcc, ar
instead of arm-linux-ar and so on. Am i right to say
that?

There's are two ways of using the arm-linux tools:
1. use make -e OR
2. set up x-compiler variables followed by ./configure

Would appreciate it if you could let me know what
steps you actually used.

Oh and by the way, you mentioned you used xview to
view the jpeg files on the assabet...where do you get
that program from? And does it require X to run? I'm
using Microwindows, so that might be a problem!

Thanks,
Supriyo

--- Karthik DK ####@####.#### wrote: > Hi
> Not sure of ur problem in the first method but it
> worked fine for me. I
> dont exactly remember how I did it but I didnt use
> make -e and also I
> didnt use jconfig.doc. Ill check and mail later.
> 
> U have compiled the library properly by the second
> method. If u
> check libraries (.a files) are listed as ar
> archives. It should work with
> whatever app u r using. Have u used it with any
> application? 
> I am using libjpeg in xview to view jpeg images on
> the assabet
> board.
> 
> Take it easy
> KAR.
> Graduate Research Assistant
> University of Southern California
> 635 3/4, W23 Street 
> Los Angeles - 90007
> (213) 745 7042.
> 
> www-scf.usc.edu/~dantu
> 
> On Thu, 18 Jan 2001, [iso-8859-1] Supriyo Chatterjea
> wrote:
> 
> > Hi,
> > 
> > I would like to x-compile the libjpeg.a library
> for
> > the StrongARM.
> > 
> > I'm using jpegsrc.v6b.tar.gz but I'm some errors
> > trying to x-compile.
> > 
> > These are the things I tried and the errors I got:
> > 
> > 
> > Method 1:
> > 1. cp jconfig.doc jconfig.h (Directory where jpeg
> > files were uncompressed)
> > 
> > 2. cp makefile.ansi Makefile
> > 
> > 3. export AR=/skiff/local/bin/arm-linux-ar
> >    export AS=/skiff/local/bin/arm-linux-as
> >    export CC=/skiff/local/bin/arm-linux-gcc
> >    export CXX=/skiff/local/bin/arm-linux-c++
> >    export GXX=/skiff/local/bin/arm-linux-g++
> >    export LD=/skiff/local/bin/arm-linux-ld
> >    export NM=/skiff/local/bin/arm-linux-nm
> >    export RANLIB=/skiff/local/bin/arm-linux-ranlib
> >    export STRIP=/skiff/local/bin/arm-linux-strip
> > 
> > 4. make -e
> > 
> > 5. This is the error I got:
> > ...
> > ...
> > /skiff/local/bin/arm-linux-gcc -O2  -I.   -c -o
> > jutils.o jutils.c
> > /skiff/local/bin/arm-linux-gcc -O2  -I.   -c -o
> > jerror.o jerror.c
> > /skiff/local/bin/arm-linux-gcc -O2  -I.   -c -o
> > jmemmgr.o jmemmgr.c
> > /skiff/local/bin/arm-linux-gcc -O2  -I.   -c -o
> > jmemnobs.o jmemnobs.c
> > rm -f libjpeg.a
> > /skiff/local/bin/arm-linux-ar libjpeg.a 
> jcapimin.o
> > jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o
> > jcmaster.o jcmarker.o jcmainct.o jcprepct.o
> jccoefct.o
> > jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o
> > jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o
> jdapistd.o
> > jdtrans.o jdatasrc.o jdmaster.o jdinput.o
> jdmarker.o
> > jdhuff.o jdphuff.o jdmainct.o jdcoefct.o
> jdpostct.o
> > jddctmgr.o jidctfst.o jidctflt.o jidctint.o
> jidctred.o
> > jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
> > jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o
> > /skiff/local/bin/arm-linux-ar: illegal option -- j
> > make: ***[libjpeg.a] Error 1
> > 
> > 6. Why is there an illegal option "-- j"? I don't
> see
> > that option anywhere in the Makefile. I've tried
> > compiling for the x86 by just typing "make"
> instead of
> > "make -e" and that seems to work fine. So that
> looks
> > like "ar" works fine but "arm-linux-ar" has some
> > problem. I've tried using the HardHat "ar", but
> that
> > gave me the same error.
> > 
> > 
> > Method 2:
> > 1. cp jconfig.doc jconfig.h (Directory where jpeg
> > files were uncompressed)
> > 
> > 2. cp makefile.ansi Makefile
> > 
> > 3. export AR=/skiff/local/bin/arm-linux-ar
> >    export AS=/skiff/local/bin/arm-linux-as
> >    export CC=/skiff/local/bin/arm-linux-gcc
> >    export CXX=/skiff/local/bin/arm-linux-c++
> >    export GXX=/skiff/local/bin/arm-linux-g++
> >    export LD=/skiff/local/bin/arm-linux-ld
> >    export NM=/skiff/local/bin/arm-linux-nm
> >    export RANLIB=/skiff/local/bin/arm-linux-ranlib
> >    export STRIP=/skiff/local/bin/arm-linux-strip
> > 
> > 4. ./configure
> > 
> > 5. make
> > 
> > 6. It seems that arm-linux-gcc is used during
> > compilation but not arm-linux-ar. Instead just ar
> is
> > used. This is wrong isn't it? I tried "file
> libjpeg.a"
> > and that gave me:
> > 
> > libjpeg.a: current ar archive
> > 
> > Shouldn't it showing that it's an ARM file
> instead?
> > 
> > Could someone please send me a libjpeg.a library
> > x-compiled for the Assabet or tell me where I'm
> going
> > wrong?
> > 
> > Thanks,
> > Supriyo
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail – Free email you can access from
> anywhere!
> > http://mail.yahoo.com.sg/
> > 
> > _______________________________________________
> >
>
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> > Please visit the above address for information on
> this list.
> > 
> 
> 
> _______________________________________________
>
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on
> this list.


__________________________________________________
Do You Yahoo!?
Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com.sg/

Previous by date: 18 Jan 2001 14:40:13 -0000 Re: System hangs in SCR_FB.C in tty ioctl, Jordan Crouse
Next by date: 18 Jan 2001 14:40:13 -0000 Re: System hangs in SCR_FB.C in tty ioctl, Martin_Doering.mn.man.de
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.