Opened 10 years ago

Closed 10 years ago

#3499 closed defect (duplicate)

What happening in gdal configure

Reported by: richard Owned by: warmerdam
Priority: highest Milestone:
Component: GDAL_Raster Version: 1.7.1
Severity: blocker Keywords: configure
Cc:

Description

In fact I attached a pdf file for the config log . If you search "error" in this document you can see that there are some .h file not found. I describe herein 3 examples of errors

At the end I obtain "exit 0".

Example 1 of error in the logfile:

conftest.c: In function 'main': conftest.c:90: error: 'strtof' undeclared (first use in this function) conftest.c:90: error: (Each undeclared identifier is reported only once conftest.c:90: error: for each function it appears in.) configure:18471: $? = 1 configure: failed program was: | /* confdefs.h. */

EXAMPLE 2 in the logfile

| return 0; | } configure:20158: result: no configure:20181: checking csf.h usability configure:20198: gcc -c -g -O2 conftest.c >&5 conftest.c:89:17: error: csf.h: No such file or directory configure:20204: $? = 1 configure: failed program was: | /* confdefs.h. */

EXAMPLE 3 (undefined reference :

configure:20357: checking for nc_open in -lnetcdf configure:20392: gcc -o conftest -g -O2 conftest.c -lnetcdf -lpq -L/usr/lib64 -lpq -lz -lm -lrt -ldl >&5 /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o): In function `nc_redef': nc.c:(.text+0x742): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o): In function `nc_delete_mp': nc.c:(.text+0x861): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o): In function `nc_delete': nc.c:(.text+0x9bb): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o): In function `ncopen': nc.c:(.text+0x1bda): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o): In function `nc_open': nc.c:(.text+0x1d75): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(nc.o):nc.c:(.text+0x1eee): more undefined references to `_intel_fast_memset' follow /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(v1hpg.o): In function `v1h_get_NC_attrarray': v1hpg.c:(.text+0x1e48): undefined reference to `_intel_fast_memcpy' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(v1hpg.o): In function `v1h_put_NC_attrarray': v1hpg.c:(.text+0x3c38): undefined reference to `_intel_fast_memcpy' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(var.o): In function `nc_def_var': var.c:(.text+0xfb6): undefined reference to `_intel_fast_memset' var.c:(.text+0x1023): undefined reference to `_intel_fast_memcpy' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(var.o): In function `dup_NC_vararrayV': var.c:(.text+0x161a): undefined reference to `_intel_fast_memset' var.c:(.text+0x1721): undefined reference to `_intel_fast_memset' var.c:(.text+0x178f): undefined reference to `_intel_fast_memcpy' var.c:(.text+0x189d): undefined reference to `_intel_fast_memcpy' var.c:(.text+0x18b2): undefined reference to `_intel_fast_memcpy' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(var.o): In function `new_x_NC_var': var.c:(.text+0x1adb): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(posixio.o): In function `ncio_create': posixio.c:(.text+0x882): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(posixio.o): In function `ncio_spx_move': posixio.c:(.text+0xc8a): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(posixio.o): In function `ncio_spx_get': posixio.c:(.text+0xfce): undefined reference to `_intel_fast_memset' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(posixio.o): In function `ncio_px_move': posixio.c:(.text+0x14c9): undefined reference to `_intel_fast_memcpy' posixio.c:(.text+0x15eb): undefined reference to `_intel_fast_memcpy' posixio.c:(.text+0x179f): undefined reference to `_intel_fast_memcpy' posixio.c:(.text+0x1846): undefined reference to `_intel_fast_memcpy' /n/sw/netcdf-3.6.3_intel-11.0.083/lib/libnetcdf.a(posixio.o): In function `px_get': posixio.c:(.text+0x1a2d): undefined reference to `_intel_fast_memset' posixio.c:(.text+0x1bbf): undefined reference to `_intel_fast_memcpy' posixio.c:(.text+0x1cae): undefined reference to `_intel_fast_memset' posixio.c:(.text+0x1e56): undefined reference to `_intel_fast_memcpy' posixio.c:(.text+0x1f4b): undefined reference to `_intel_fast_memset' posixio.c:(.text+0x2160): undefined reference to `_intel_fast_memset'

Change History (1)

comment:1 Changed 10 years ago by Even Rouault

Resolution: duplicate
Status: newclosed

Please don't open new tickets for already reported issue, but edit existing ticket ! Also use the WikiFormatting to avoid pasting unreadable things

Note: See TracTickets for help on using tickets.