WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Where is "crt1.o"?  (Read 6263 times)

Offline mainr

  • Newbie
  • *
  • Posts: 7
Where is "crt1.o"?
« on: July 03, 2009, 10:35:42 PM »
Hi,
I'm trying to run ".configure" prior to compiling a module, but the configure script dies, claiming "the compiler can't generate executables - check config.log". "config.log" indicates ld has failed because it cannot find crt1.o. This file is normally part of the libc6-dev package (which apparently does not exist for tinycore yet). I HAVE installed the "compiletc" meta-package.

Any suggestions?

Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Where is "crt1.o"?
« Reply #1 on: July 04, 2009, 12:27:32 AM »
/usr/lib/crt1.o is part of the base-devs extension - is this loaded OK by the compiletc meta-package?

Offline mainr

  • Newbie
  • *
  • Posts: 7
Re: Where is "crt1.o"?
« Reply #2 on: July 04, 2009, 09:03:48 AM »
I guess compiletc has not propertly installed it. I use the appbrowser to check out base-devs.tce. I can see /usr/lib/crt1.o listed, but I checked and the file is not there. I tried to install base-devs.tce, but just immediately got the dialog indicating it was installed.

Is there a way to force overloading / re-installing of a (broken) package?

For that matter how does one uninstall a package (once installed to a PPI)?
(I'm guessing attempting to uninstall a package named "base-devs" might be a bad idea, but it would be usefull for other packages I've installed to "check-out", or no longer have any use for.

If case it helps / impacts:
- I'm running Tinycore 2.0;
- I have installed to a hard drive & setup a PPI.

Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Where is "crt1.o"?
« Reply #3 on: July 04, 2009, 09:18:33 AM »
My own preference is PPR - thus avoiding system rot.

I think if you delete /usr/local/tce.installed/base-devs, you might be able to force a re-load of the base-devs extension - this works in PPR mode anyway...

Offline mainr

  • Newbie
  • *
  • Posts: 7
Re: Where is "crt1.o"?
« Reply #4 on: July 04, 2009, 09:57:58 AM »
Thanks, Juanito!
I renamed the /usr/local/tce.installed/base-devs, then re-installed, and /usr/lib/crt1.o appeared!
I guess the real question is "Why was /usr/lib/crt1.o not installed in the first place?", but that's a question for people with more time (/talent) than I.
I'm set.
Thanks for the help.

Offline blazej

  • Newbie
  • *
  • Posts: 7
Re: Where is "crt1.o"?
« Reply #5 on: July 04, 2009, 10:09:20 AM »
hello
did you reboot after the installation an THEN noticed that the crt1.o is missing?

Offline mainr

  • Newbie
  • *
  • Posts: 7
Re: Where is "crt1.o"?
« Reply #6 on: July 04, 2009, 05:20:04 PM »
I'd rebooted _many_ times before I had things in place to attempt a recompile. I needed "comedi" for digital and analog IO capability. Unfortunately, the cards I need are not part of the base package, so I had to modify the driver and rebuild.

Offline tinypad

  • Newbie
  • *
  • Posts: 12
Re: Where is "crt1.o"?
« Reply #7 on: July 05, 2009, 01:42:36 AM »
I got the same problem while compiling another app.  After installing base-dev package, everything worked fine.

Or see here: http://anaaman.blogspot.com/2006/01/crt1o-no-such-file-no-such-file-or.html.

Good luck!
« Last Edit: July 05, 2009, 05:56:04 PM by tinypad »