If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Compilation problem with db2uext2 on RH9

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-04, 05:59
trifon trifon is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Compilation problem with db2uext2 on RH9

Hello all,
I am a beginner with db2,please
can somebody help me with
compilation db2uext2.c program on RH9?
When I start
cc -o db2uext2 db2uext2.c

the output error is:

db2uext2.c: In function `ArchiveFile':
db2uext2.c:731: `offset_t' undeclared (first use in this function)
db2uext2.c:731: (Each undeclared identifier is reported only once
db2uext2.c:731: for each function it appears in.)
db2uext2.c:731: parse error before "offsetll"
db2uext2.c:803: `offsetll' undeclared (first use in this function)
db2uext2.c:803: parse error before "startingPage"

Thank you very much for your help
best regards
trifon
Reply With Quote
  #2 (permalink)  
Old 02-16-04, 06:31
trifon trifon is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
My apologies,
I did not read the note in the source file db2uext2.c, where is
writen how to compile on Linux :-)

*** NOTE *** On SCO UnixWare or Linux compile as follows:
cc -D_INCLUDE_POSIX_SOURCE db2uext2.c
-o db2uext2

But, tahnk you very much for you time-finding
for read this Post.

best regards
Trifon
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On