Author Topic: Compiling on 3MX Ultra  (Read 577 times)

g3wyw

  • Newbie
  • *
  • Posts: 25
Compiling on 3MX Ultra
« on: February 19, 2010, 06:40:56 PM »
Hi,

I've moved to 3MX Ultra - Great OS well done Wicknik.

Wicknik,

I want to use GCC on it, but when I moved the .deb packages to SD/SD_1 and used the janrinze script to unpack them. I get errors on simple programs that compiled before.

do I have to make the same lib links to /lib and /usr/lib and /usr/local/lib into ld.so.conf? I tried adding these to the existing ld.so.conf and running ldconfig but I still get errors.

The errors seem to be library related in terms of not defined symbols and one was something related to kbsound?

any help appreciated

Best Regards

paul



jakfish

  • Jr. Member
  • **
  • Posts: 97
Re: Compiling on 3MX Ultra
« Reply #1 on: February 19, 2010, 07:50:49 PM »
I don't know if this will help this exact problem, but when I was having trouble with broken symlinks, wicknix kindly explained that you can't run extractdeb in Fat, etc.  Anything other than Linux environment will break the symlinks.

Once I extracted in /root/subdirectories, that issue cleared up.

FWIW,
Jake 

g3wyw

  • Newbie
  • *
  • Posts: 25
Re: Compiling on 3MX Ultra
« Reply #2 on: February 19, 2010, 11:59:54 PM »
Hi Jakfish,

Thanks for the reply.

I fixed the library problem, it was a typo on my part.

Now I have another problem. When I run Xarchiver 0.4.0 against a .tar.gz file ( in a subdirectory under root) I get an error of tar -unrecognised option '-keep-old-files'! I can't see that listed as an option in tar.

I must be something in the archive, but I have extracted the files before and Xarchiver lists the files and directories fine, but just wont extract them!

Running tar under terminal just hang with no errors. ^C escapes OK. file is unixcw_2.3_orig.tar.gz from the debian etch archive ( source code section).

Any pointers appreciated. I'm a newbie on Linux but learning fast!

Regards Paul

jakfish

  • Jr. Member
  • **
  • Posts: 97
Re: Compiling on 3MX Ultra
« Reply #3 on: February 20, 2010, 08:13:26 PM »
I don't know what's going on--I've never had good luck with extractors (other than the extractdeb app) in any Linux OS, but I'm sure that's my fault.  For tar files, I try to use freeware lzArc in XP, but that goes against the grain of Linux, I know :)

Jake

g3wyw

  • Newbie
  • *
  • Posts: 25
Re: Compiling on 3MX Ultra
« Reply #4 on: February 21, 2010, 05:09:58 PM »
 ;D Well I 'fixed' it by using ar and tar at the $ prompt in a terminal rather than the xar application.

Paul