Skip to content

Instantly share code, notes, and snippets.

@samtux
Created December 14, 2019 22:57
Show Gist options
  • Save samtux/74857cd81940e896fbe48b17a9d055a4 to your computer and use it in GitHub Desktop.
Save samtux/74857cd81940e896fbe48b17a9d055a4 to your computer and use it in GitHub Desktop.
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c -o libgradspy_la-bufrstn.lo `test -f 'bufrstn.c' || echo './'`bufrstn.c
gasdf.c: En la función ‘read_metadata’:
gasdf.c:2421:5: aviso: ‘strncpy’: el límite especificado depende de la longitud del argumento origen [-Wstringop-overflow=]
2421 | strncpy(pvar->longnm,name,len+1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gasdf.c:2420:11: nota: la longitud se calcula aquí
2420 | len = strlen(name);
| ^~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c bufrstn.c -fPIC -DPIC -o .libs/libgradspy_la-bufrstn.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c -o libgradspy_la-gabufr.lo `test -f 'gabufr.c' || echo './'`gabufr.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c gabufr.c -fPIC -DPIC -o .libs/libgradspy_la-gabufr.o
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c -o libgradspy_la-gabufrtbl.lo `test -f 'gabufrtbl.c' || echo './'`gabufrtbl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include -I/opt/hdf4/include -I/usr/include -DSHRDOBJ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -c gabufrtbl.c -fPIC -DPIC -o .libs/libgradspy_la-gabufrtbl.o
gabufrtbl.c: En la función ‘gabufr_read_tbls’:
gabufrtbl.c:269:3: aviso: ‘strncpy’: el límite especificado depende de la longitud del argumento origen [-Wstringop-overflow=]
269 | strncpy(tbl_b_path, base_path, base_path_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gabufrtbl.c:262:19: nota: la longitud se calcula aquí
262 | base_path_len = strlen(base_path);
| ^~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -L/usr/lib -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxdb.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o gatxt.o galloc.o gaddes.o gacfg.o gaio.o gauser.o gasdf.o bufrstn.o gabufr.o gabufrtbl.o -L/usr/lib -lreadline -lncurses -lg2c -ljasper -lpng16 -lz -L/opt/hdf4/lib -lmfhdf -ldf -ljpeg -lz -lsz -lhdf5 -ludunits -lnetcdf -lhdf5_hl -lhdf5 -lcurl -lz -ltiff -lgeotiff -lshp -ldl -lm
/bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -L/usr/lib -o gribmap gribmap.o gagmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L/usr/lib -lreadline -lncurses -lg2c -ljasper -lpng16 -lz -lm
gasdf.c: En la función ‘gasdfopen’:
gasdf.c:84:3: aviso: ‘strncpy’: el límite especificado depende de la longitud del argumento origen [-Wstringop-overflow=]
84 | strncpy(pfi->name,pathname,len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gasdf.c:83:7: nota: la longitud se calcula aquí
83 | len=strlen(pathname);
| ^~~~~~~~~~~~~~~~
gasdf.c: En la función ‘gaxdfopen’:
gasdf.c:163:3: aviso: ‘strncpy’: el límite especificado depende de la longitud del argumento origen [-Wstringop-overflow=]
163 | strncpy(pfi->dnam,pathname,len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gasdf.c:162:9: nota: la longitud se calcula aquí
162 | len = strlen(pathname);
| ^~~~~~~~~~~~~~~~
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -o gribmap gribmap.o gagmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L/usr/lib -lreadline -lncurses -lg2c -ljasper -lpng16 -lz -lm
/bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -L/usr/lib -o stnmap stnmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L/usr/lib -lreadline -lncurses -lm
/usr/bin/ld: gagmap.o: in function `gaseekgb':
gagmap.c:(.text+0x38dd): undefined reference to `gbit'
/usr/bin/ld: gagmap.c:(.text+0x38f2): undefined reference to `gbit'
/usr/bin/ld: gagmap.c:(.text+0x392d): undefined reference to `gbit'
/usr/bin/ld: gagmap.c:(.text+0x39bb): undefined reference to `gbit'
/usr/bin/ld: /usr/lib/libg2c.a(g2_info.o): in function `g2_info':
(.text+0x10d): undefined reference to `gbit'
/usr/bin/ld: /usr/lib/libg2c.a(g2_info.o):(.text+0x123): more undefined references to `gbit' follow
/usr/bin/ld: /usr/lib/libg2c.a(g2_getfld.o): in function `g2_getfld':
(.text+0x2be): undefined reference to `g2_unpack7'
/usr/bin/ld: (.text+0x375): undefined reference to `gbit'
/usr/bin/ld: (.text+0x46e): undefined reference to `g2_unpack3'
/usr/bin/ld: (.text+0x541): undefined reference to `g2_unpack4'
/usr/bin/ld: (.text+0x5af): undefined reference to `g2_unpack6'
/usr/bin/ld: (.text+0x642): undefined reference to `g2_unpack1'
/usr/bin/ld: (.text+0x701): undefined reference to `g2_unpack5'
/usr/bin/ld: /usr/lib/libg2c.a(g2_unpack2.o): in function `g2_unpack2':
(.text+0x47): undefined reference to `gbit'
/usr/bin/ld: (.text+0x6e): undefined reference to `gbit'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:784: gribmap] Error 1
make[2]: *** Se espera a que terminen otras tareas....
/usr/bin/ld: /usr/lib/libg2c.a(g2_getfld.o): en la función `g2_getfld':
(.text+0x10a): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x12b): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x14c): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x1d8): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x1f9): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x2be): referencia a `g2_unpack7' sin definir
/usr/bin/ld: (.text+0x375): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x46e): referencia a `g2_unpack3' sin definir
/usr/bin/ld: (.text+0x541): referencia a `g2_unpack4' sin definir
/usr/bin/ld: (.text+0x5af): referencia a `g2_unpack6' sin definir
/usr/bin/ld: (.text+0x642): referencia a `g2_unpack1' sin definir
/usr/bin/ld: (.text+0x701): referencia a `g2_unpack5' sin definir
/usr/bin/ld: /usr/lib/libg2c.a(g2_unpack2.o): en la función `g2_unpack2':
(.text+0x47): referencia a `gbit' sin definir
/usr/bin/ld: (.text+0x6e): referencia a `gbit' sin definir
collect2: error: ld devolvió el estado de salida 1
make[2]: *** [Makefile:776: grads] Error 1
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wno-trigraphs -rdynamic -o stnmap stnmap.o gamach.o galloc.o gaddes.sa.o gautil.sa.o gatxt.o -L/usr/lib -lreadline -lncurses -lm
make[2]: se sale del directorio '/mnt/geodatos/makepkg/archgeotux/grads/src/grads-2.2.1/src'
make[1]: *** [Makefile:619: all] Error 2
make[1]: se sale del directorio '/mnt/geodatos/makepkg/archgeotux/grads/src/grads-2.2.1/src'
make: *** [Makefile:466: all-recursive] Error 1
==> ERROR: Se produjo un fallo en build().
Cancelando...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment