Opened 13 years ago

Closed 13 years ago

#3873 closed defect (invalid)

multiple definitions of 'GDALRegister_PCIDSK'

Reported by: strk Owned by: warmerdam
Priority: normal Milestone:
Component: ConfigBuild Version: svn-trunk
Severity: critical Keywords:
Cc:

Description

At revision 21223 (trunk at time of writing).

/usr/src/gdal/gdal/frmts/o/.libs/pcidskdataset2.o: In function `GDALRegister_PCIDSK': /home/src/gdal/gdal/frmts/pcidsk/pcidskdataset2.cpp:1575: multiple definition of `GDALRegister_PCIDSK' /usr/src/gdal/gdal/frmts/o/.libs/pcidskdataset.o:/home/src/gdal/gdal/frmts/pcidsk/pcidskdataset.cpp:1537: first defined here collect2: ld returned 1 exit status

Change History (2)

comment:1 by warmerdam, 13 years ago

Strk,

Was this a clean build done with the conventional makefiles? Normally only one of those two pcidsk dataset implementations should get built. If you svn updated from a very old tree you might need to do a make clean.

If it still occurs with a clean build with a normal build let me know and I'll try to reproduce the problem.

comment:2 by strk, 13 years ago

Resolution: invalid
Status: newclosed

You're right Frank, a clean build fixed it. Sorry for the noise.

Note: See TracTickets for help on using tickets.