Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004

    Unanswered: 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

  2. #2
    Join Date
    Feb 2004
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts