Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - melee

Pages: [1] 2 3 ... 5
1
X/Qt / Help Compiling
« on: September 26, 2006, 11:54:58 am »
Quote
i follow the readme , the make config seems to work
but when i type the make all it just says "Bulding" then nothing more...
would someone try and tell me what is wrong ?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=142264\"][{POST_SNAPBACK}][/a][/div]
Hi

Keep reading the README file and you get to this:-

Possible Complications:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i) An error was encountered during `make all', hence building has been aborted.
This usually happens with newly introduced kernels. Apparently, something in the
linux kernel has changed or is no longer where it was expected to be. It could
be a header file or a variable name that has changed, or a function's parameters
that differ. A common cause of that error is the use of custom kernel sources
provided along with a distro, even for an older kernel version.
This is not surprising, since the linux kernel is a totally dynamic collection
of drivers. What you have to do, anyway, is:
Check out if you have the complete kernel sources of the same version with your
running kernel. If there are reports for a missing file, check if the file
exists in another path than that where it is expected to be found, and try to
resolve the conflict manually. (a symbolic link would be fine)
Whether the problem was solved or not, please send us a report, describing the
error you encountered (see Appendix I: Reporting Errors)


The only sane way of compiling kernel drivers, is on the machine you are going to use, with the kernel running that they are meant for, so I cannot assist do that.

However unless you have an extensive development environment set up, I doubt that you have the kernel headers and sources installed on a limited memory and limited storage handheld, (why would you!) which may be one reason for failure.

The other could be that the kernel you are running is customised (Sharp ROMS do have a lot of customisations from stock kernels ), see the README file.

Afraid I don't know anything about your individual device, so cannot assist further

regards

Melee

2
Software / Mp3 To Wav File Conversion
« on: September 21, 2006, 12:39:45 pm »
Quote
anyone know what will do this? mencoder? perhaps, or is there another alternative?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141202\"][{POST_SNAPBACK}][/a][/div]

Hi

Always plenty of ways to skin a cat.

This is part of my commandline script for managing CD burning, striping etc.

## recode to .wav for cd burning and change name from mp3 to wav

   for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done

Obviously requires lame and basename requires Perl I think.

To do the opposite I use:-


       for i in /tmp/track_*.wav
          {
          lame -h $i $i.mp3
          }
      
      
      cd /tmp
      rename .wav.mp3 .mp3 *.wav.mp3
      
      for i in *.inf *.wav
          {
          rm $i
          }
      cd /
      
   
I think rename was deprecated on some systems, seem to remember I had to add it to mine when I changed distros some while back

regards

Melee

3
Software / Newbie Help!
« on: August 06, 2006, 11:32:40 am »
Quote
Is there any way to increase the font size without using the magnification setting - this just seems to distort the whole page!
Ravi
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137550\"][{POST_SNAPBACK}][/a][/div]
Hi

Menu -> Viewing -> Scale Page

Then set it to whatever you want - 175% works for me

Melee

4
Linux Applications / Compile Woes, Continued!
« on: July 07, 2006, 01:10:54 pm »
Quote
run any configure script, it still can't find the compiler.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134229\"][{POST_SNAPBACK}][/a][/div]

Hi,

Think a step by step approach called for.

Your output from hello.cpp shows your compiler can't find the most basic header files.

The only header you need for a rudimentary hello.c is stdio.h  eg:-

#include <stdio.h>

int main (int argc, char *argv[])
{
  printf("Hello, world\n");
}


The compilation commandline can be as simple as:-

arm-gcc(or whatever yours is called) hello.c -o hello

It will expect stdio.h to be in /usr/include

If the above does not compile, your installation is truely screwed up.

Put the highlighted code above in a file called hello.c and try to compile using the highlighted commandline from within that directory and come back with the results.

If that works will need to see what you are trying to compile and what the Makefile contains.

regards

Melee

5
Qt/Qtopia / Compiling Sdl
« on: July 06, 2006, 11:34:19 am »
Quote
Thank you for making this available, could you please indicate where the different files have to be place in order to compile apps which require them? Can they just be place in any of the "lib" folders?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123979\"][{POST_SNAPBACK}][/a][/div]
Sorry, haven't checked this forum for ages.

If you have not already found out -

The shared libraries need to be in whatever path is searched for libraries under your setup or specified in the makefile eg
(In Makefile)
LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lqpe -ljpeg -lqte

so place libSDL_mixer.so in $(QTDIR)/lib and amend the line to

LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lqpe -ljpeg -lqte -lSDL_mixer  or whatever is required.

If you want to include a static library such as libSDLmain.a I have always found it easier to copy it to the same directory you are building from and modify the Makefile line to

LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lqpe -ljpeg -lqte -lSDL_mixer ./libSDLmain.a

regards

Melee

6
User Request for Applications / Updated Ruby And Rubygems Ipk
« on: June 19, 2006, 12:51:36 pm »
Quote
Ruby is up to 1.8.4, and an ipk file for rubygems would be handy.

Hi

1.8.4 is already posted on this site thanks to FabianE

https://www.oesf.org/forums/index.php?showtopic=18415&st=45#

seems to include gems

Melee

7
User Request for Applications / Pybluez Module
« on: June 19, 2006, 12:36:45 pm »
Quote
nope, not even in any kind of known format that I know of, tar or tar.gz
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131715\"][{POST_SNAPBACK}][/a][/div]

Hi

They are just .deb files renamed as .ipk

Change the extension to .deb and run dpkg-deb -c [filename.deb]
to view the contents.

The file python-bluez_0.6.1_arm(.ipk)
contains the directory structure /usr/lib/python2.4/site-packages/
and within are the files _bluetooth.so and bluetooth.py

I dont have python installed on my Z.

If you tell me what the appropriate directory structure for your Z and OS is, I can repackage in a tar gzipped .ipk for you

Alternately just copy the individual files over to the relevant directory on your Z, having extracted them with dpkg.

To do this use:-
dpkg-deb -X [filename.deb] /tmp
which will extract the directory tree into your /tmp directory and give you access to the individual files within it

regards

Melee

8
User Request for Applications / Pybluez Module
« on: June 18, 2006, 12:30:06 pm »
Quote
anyone wanna try and compile this, I cant seem to get it....
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hi

There are a couple of .ipks
[a href=\"http://org.csail.mit.edu/pybluez/download.html]HERE[/url]

Are those any good?

regards

Melee

9
OpenZaurus/Opie/Qtopia / Correct Ar Syntax To Create An Ipk
« on: June 10, 2006, 11:19:06 am »
Hi

If all you are looking for is the ar line to create the .ipk, Meanie has given it to you.

All these scripts which use perl etc add unnecessary complication to something which is quite simple.

Copy control and debian-binary into /tmp

Create /tmp/hole  and below that recreate the relevant directory structure which mirrors the Z and copy the binaries etc to the relevant parts of it

cd /tmp
tar -cvzf ./control.tar.gz ./control
cd hole
tar -cvzf ../data.tar.gz .
cd ../
ar -q (name_of_ipk).ipk ./control.tar.gz ./data.tar.gz ./debian-binary

I assume ipkg can cope with ar created .ipks, I have never tried it.
The version supplied with the standard Sharp ROM is pretty c**p and has enough trouble with some tar zipped ones.

regards

Melee

10
Software / Word Game Dictionary
« on: May 07, 2006, 11:55:28 am »
Quote
I've tried to install zword_0.6_arm.ipk on my C3200 and the package isn't recognised by the ipk graphical installer.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=125780\"][{POST_SNAPBACK}][/a][/div]

Answered to Slade by email

All down to firefox recognising .ipks as gzipped tar files and helpfully unpacking the file for you!

See other posts on same subject.

Check the download size is as per the web site or better still use wget, konqueror etc and there is no problem.

Ken is correct - ZWord uses the zbedic english dictionary and produces definition of any word highlighted in the crossword solutions list

Melee

11
Software / Problem Using Basilisk On C3100
« on: April 05, 2006, 12:22:54 pm »
Quote
Well at least I know that it's not a problem with my installation. I wonder if it worked ok on earlier models, or if it always had this bug. As you say, it's almost completely unusable as it is, but if the mouse issue was solved, it would be totally usable.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95988\"][{POST_SNAPBACK}][/a][/div]

Hi,

Found this in the README file with the source code
Is this anything to do with your problem?

Mouse:                                                                                                        
Under Unix, pressing Ctrl-F5 while the Basilisk II window is active will                                    
grab the mouse. This is needed for compatibility with some MacOS programs,                                  
especially games such as flight simulators. Press Ctrl-F5 again to return                                    
to normal mouse operation.


Not quite sure how you can simulate Ctrl-F5  (Shift-Function-5 perhaps)
Might be worth a try.

regards

Melee

12
Linux Issues / sftp problem with Mandrake
« on: March 26, 2006, 09:44:57 am »
Hi

I guess you are using USB

that is the problem, not Mandrake, perl or Konqueror.

See  https://www.oesf.org/forums/index.php?showtopic=12086

Change to WiFi and all the problems you describe and many more, just disappear!

regards

Melee

13
User Request for Applications / Space Trader
« on: March 22, 2006, 12:23:27 pm »
Quote
I remember seeing tools mentioned that could extract the resources from a program in PRC format, but I never used them.  If it is possible to extract these..........[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hi

You don't need to extract them, they are available on the site [a href=\"http://www.cs.unimaas.nl/p.spronck/picoverse/spacetrader/STFrames.html]HERE[/url]

The zipped source from that same page contains a /rsrc dir with what I assume are the resource files you refer to plus headers.

Unlike you however, I have no knowledge of Palm programs and no interest in games, so that is the limit of any help I can be.

regards

Melee

14
Software / Mplayer Cross-compilation For The Zaurus
« on: March 21, 2006, 01:02:51 pm »
Quote
Hey, I was wondering if anyone out there could help me with a cross-compilation of the latest version of MPlayer for the Zaurus SL-6000.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118772\"][{POST_SNAPBACK}][/a][/div]

Hi

You don't say what you regard as being the latest version of mplayer and what format the iPod does use.

The top of the page has latest version of Kino which is a frontend for mplayer and supports version 1.1.5 of mplayer
(https://www.oesf.org/forums/index.php?showtopic=14839)

That works perfectly for me and it is already compiled for arm.

If you want an exercise in cross compilation, picking mplayer is not a good place to start, it has so many dependencies, helper libraries and tools.

It took me a while to get it compiled with all the support and libraries required for some special highly compressed video conversions I wanted to do with mencoder and that was under x86 linux.

The starting point is the Qtopia and Embedix packages and a working shell environment which has the right paths etc.
However without a working knowledge of C and C++, GNU makefiles, configure etc it will be an uphill task

./configure --help | less  and look at the possible switches is a good place to start

./configure --host=arm  ( or arm-linux)  plus any additional switches,  is normally a good start for cross-compiling,  but depends how the configure file is written as to the exact format.
(symlinking  /opt/Embedix/tools/bin/arm-linux-XXX to /usr/bin/arm-linux-XXX
and /usr/bin/arm-XXX takes care of most variations)

After that I'm afraid you are on your own!

regards

Melee

15
Quote
Type about:config into the address area.
This brings up the configurations. I don't see mimetypes in there.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

about:config works but does not display mime types on my Firefox either

I downloaded the mime type editor extension from [a href=\"http://www.extensionsmirror.nl/index.php?showtopic=179]http://www.extensionsmirror.nl/index.php?showtopic=179[/url]
but this does not show any existing mime types, even after you input one!

I am using Firefox 1.0.7 from the Ubuntu 5.10 build

Any other ideas?

I may just use Konqueror or ftp for downloads of .ipks now I know why the problem occurs.

Melee

Pages: [1] 2 3 ... 5