undefined reference to `EPTKDATE'
search cancel

undefined reference to `EPTKDATE'

book

Article ID: 134237

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL

Issue/Introduction

The client tried to compile & link their existing Easytrieve program by following commend.

ezt -o /easy/thlib/test/object/TVA119M -I /easy/thlib/test/mac -I /easy/opt/macros /easy/opt/bin/libezttool.a -L /easy/thlib/test/source/TVA119M.ezt > /easy/thlib/etc/log/TVA119M.lst 

However, the following messages appeared and the the compile & link was not able to be done.

 TVA119M.o: In function `External_names':

      (.data+0x610): undefined reference to `EPTKDATE'

TVA119M.o: In function `External_names':

      (.data+0x614): undefined reference to `EPTKDATE'


Environment

Release : 11.6

Component : CA EASYTRIEVE REPORT GENERATOR FOR FOR LINUX PC

Cause

The client should specify the shared object (so) instead of archived (a) libezttool library.  (He should specify the libezttool.so instead of the libezttool.a library.

Resolution

The client should specify the shared object (so) instead of archived (a) libezttool library. That means changing "a" here: 

ezt -o /easy/thlib/test/object/TVA119M -I /easy/thlib/test/mac -I /easy/opt/macros /easy/opt/bin/libezttool.a -L /easy/thlib/test/source/TVA119M.ezt > /easy/thlib/etc/log/TVA119M.lst 

... 

to "so": 

... 

ezt -o /easy/thlib/test/object/TVA119M -I /easy/thlib/test/mac -I /easy/opt/macros /easy/opt/bin/libezttool.so -L /easy/thlib/test/source/TVA119M.ezt > /easy/thlib/etc/log/TVA119M.lst 

...

should resolve the problem.