crt1.o and crti.o missing

Forums for the Xfce Edition
Forum rules
Before you post please read this

crt1.o and crti.o missing

Postby shengchieh on Mon Dec 30, 2013 3:18 pm

I am trying compile using g95 (parallel fortran) which uses the gcc libraries.
I get error messages for missing crt1.o and crti.o, i.e.,

Code: Select all
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory


This code works just fine when using archbang linux or crunchbang linux, so
I know I am just missing libraries.

After searching the LM forum, I double-checked that
- I have libc6-dev and gcc
- I get the same error when running as root
- I installed build-essential which has g++

I am running LM XFCE 15 and the hardware specs are

http://shengchieh.50webs.com/Desktoplspci.txt
http://shengchieh.50webs.com/Desktoplsmod.txt
http://shengchieh.50webs.com/Desktoplshw.txt

What am I still missing? Is there a development library that I
need to install?

Thank in advanced for your help.

Sheng-Chieh
shengchieh
Level 4
Level 4
 
Posts: 218
Joined: Sat Mar 01, 2008 1:25 am

Linux Mint is funded by ads and donations.
 

Re: crt1.o and crti.o missing

Postby xenopeek on Mon Dec 30, 2013 3:30 pm

Perhaps you haven't set up path correctly in the makefile? Try this:
Code: Select all
locate crt1.o

Where is it? And where does your makefile look for it?
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13700
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

which g95 version? (was crt1.o and crti.o missing)

Postby shengchieh on Tue Dec 31, 2013 6:26 pm

It turns out that I have an old version of g95 and I ought to download a more current
version. I am looking at g95 download page and can choose between

Linux x86
Linux x86-64 (32 bit DI)
Linux x86-64 (64 bit DI)
Linux x86 (Debian)
Linux x86-64 (Debian)

Which version do I want? Again my hardware specs are at

http://shengchieh.50webs.com/Desktoplspci.txt
http://shengchieh.50webs.com/Desktoplsmod.txt
http://shengchieh.50webs.com/Desktoplshw.txt

What does DI means? Educate me. Should I be using the deban version?

Sheng-Chieh
shengchieh
Level 4
Level 4
 
Posts: 218
Joined: Sat Mar 01, 2008 1:25 am

Re: crt1.o and crti.o missing

Postby xenopeek on Wed Jan 01, 2014 5:37 am

"direct install" perhaps? But you want the Debian download, as Linux Mint uses Debian package format. Download x86 if you have a 32-bit installation or x86-64 if 64-bit. If you're not sure, open a terminal and run the command:
Code: Select all
arch

If it responds x86_64, you have a 64-bit installation and otherwise 32-bit.

Download the right file and double-click it in your file manager after downloading. It should open with GDebi and give you option to install.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13700
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: crt1.o and crti.o missing

Postby shengchieh on Thu Jan 02, 2014 10:33 pm

Thank for replying - I'll look at it later when I have more time. For now, I used synaptic to compile gfortran. It gets the job done for now.
(I just needed a fortran compiler - no fancy feature).

Sheng-Chieh
shengchieh
Level 4
Level 4
 
Posts: 218
Joined: Sat Mar 01, 2008 1:25 am


Return to Xfce

Who is online

Users browsing this forum: No registered users and 2 guests