I was told to tape
make in the correct directory to execute the makefile. I use Shell Script so often that I forget my little knowledges. I debug the script except the following error :
================================
Answer by the terminal after the prompt :
cc -c /home/lavigne/waves/g2lib/g2clib-1.0.2/gridtemplates.c
ar -X64 -ruv libgrib2c.a gridtemplates.o
ar: illegal option -- X
Usage: ar [emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
ar -M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
t - display contents of archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[u] - only replace files that are newer than current archive contents generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[v] - be verbose
[V] - display the version number
emulation options:
No emulation specific options
ar: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core
make: *** [libgrib2c.a(gridtemplates.o)] Error 1
=======================
So what is going on? I do not understand. Default the ar command accepts the -X option, does not it?