List for cgit developers and users
 help / color / mirror / Atom feed
From: actionmystique at gmail.com (jean-christophe manciot)
Subject: git/packfile.c:486: undefined reference to `fcntl64'
Date: Fri, 30 Nov 2018 10:05:20 +0100	[thread overview]
Message-ID: <CAKcFC3bWMAwmuy+Am-u5Ufs8_pQgw=+-eXnk5mMxXmCbzP-kXw@mail.gmail.com> (raw)

Debian buster
git 2.19.2
cgit v1.2.1-13-g441dac1
make 4.2.1-1.2
libcrypto++-dev 5.6.4-8
libssl-dev 1.1.1a-1
libzip-dev 1.1.2-1.1+b1
lua5.3 5.3.3-1
pkg-config 0.29-4+b1

Building cgit with make leads to:
    SUBDIR git
CGIT_VERSION = v1.2.1-13-g441d
    * new CGit build flags
    CC ../cgit.o
    CC ../cache.o
    CC ../cmd.o
    CC ../configfile.o
    CC ../filter.o
    CC ../html.o
    CC ../parsing.o
    CC ../scan-tree.o
    CC ../shared.o
    CC ../ui-atom.o
    CC ../ui-blame.o
    CC ../ui-blob.o
    CC ../ui-clone.o
    CC ../ui-commit.o
    CC ../ui-diff.o
    CC ../ui-log.o
    CC ../ui-patch.o
    CC ../ui-plain.o
    CC ../ui-refs.o
    CC ../ui-repolist.o
    CC ../ui-shared.o
    CC ../ui-snapshot.o
    CC ../ui-ssdiff.o
    CC ../ui-stats.o
    CC ../ui-summary.o
    CC ../ui-tag.o
    CC ../ui-tree.o
    * linking with autodetected luajit
    LINK ../cgit
/usr/bin/ld: libgit.a(packfile.o): in function `open_packed_git_1':
git-cgit/git/packfile.c:486: undefined reference to `fcntl64'
/usr/bin/ld: git-cgit/git/packfile.c:490: undefined reference to `fcntl64'
/usr/bin/ld: libgit.a(run-command.o): in function `set_cloexec':
git-cgit/git/run-command.c:514: undefined reference to `fcntl64'
/usr/bin/ld: git-cgit/git/run-command.c:516: undefined reference to
`fcntl64'
/usr/bin/ld: git-cgit/git/run-command.c:514: undefined reference to
`fcntl64'
/usr/bin/ld: libgit.a(run-command.o):git-cgit/git/run-command.c:516: more
undefined references to `fcntl64' follow
collect2: error: ld returned 1 exit status
make[1]: *** [../cgit.mk:134: ../cgit] Error 1
make: *** [Makefile:76: cgit] Error 2

Maybe a missing dev package.

I can build the same checkout on Ubuntu disco without any error.

-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20181130/53bcdb34/attachment.html>


             reply	other threads:[~2018-11-30  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30  9:05 actionmystique [this message]
2018-11-30  9:40 ` DLange
2018-11-30 11:19   ` actionmystique

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKcFC3bWMAwmuy+Am-u5Ufs8_pQgw=+-eXnk5mMxXmCbzP-kXw@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).