Author Topic: Some Programming Help  (Read 1551 times)

electronerdz

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://www.electronerdz.com
Some Programming Help
« on: November 26, 2004, 07:40:25 pm »
I am just beginning writing applications for the Zaurus. At the same time, I am just beginning write applications in C. So therefore, I am a little confused from time to time. However, now I am utterly confused. I am writing an application that will calculate power over ethernet voltages for you. I had a working application once already, but then I added some features (such as a diagram in a second window). Now, when I try to compile I get a bunch of "undefined reference" errors when I run make. It compiles all of the source files, but when it tries to link them together, thats when it runs into problems. I have pieced this program together by looking at other examples. I just have a crude program at the moment, then I want to go dress it up, and distrbute it. Also, just so you know, its really designed for a Zaurus SL-6000. I would make it for the SL-5500, but mine died. If someone wanted to make a UI file for the SL-5500, that would be fine. If you think you can help, check it out at http://www.electronerdz.com/poecalc.tar.gz

Also, like I said, this is my first program. My ultimate goal for a program is a SyncML client for the Zaurus SL-6000. The 6000 is a great tool, but until I can get it to sync to my box, its just an expensive toy. I have bits and pieces of some projects that were started that I have collected, but they were never finished. I will keep everyone updated on how that goes (although, it will probably be slow).

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Some Programming Help
« Reply #1 on: November 27, 2004, 06:30:35 am »
More info:

toolchain, what commands are you running to link it, what are the errors, etc.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

electronerdz

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://www.electronerdz.com
Some Programming Help
« Reply #2 on: November 27, 2004, 08:31:29 am »
Nevermind, I found out what it was... it was the .pro file. I've been using the newer Qt designer for editting the C, but the old one for the UI, so now I just changed the PRO file to match one from another project, and it compiled just fine. Now I have a few quirks to work out, then I am running well. However, thank for letting me vent, as it made me think about it a little more.