Skip to content
Discussion options

You must be logged in to vote

Hi Jorj,

I'm having trouble to install MuPDF. Below is the error I have when I run make prefix=/usr/local install:

pi@pi:/gcc_all/mupdf $ make prefix=/usr/local install
CC build/debug/pdf/pdf-pkcs7.o
source/pdf/pdf-pkcs7.c: In function ‘bsegs_read’:
source/pdf/pdf-pkcs7.c:30:39: error: dereferencing pointer to incomplete type ‘BIO’ {aka ‘struct bio_st’}
BIO_SEGS_CTX *ctx = (BIO_SEGS_CTX *)b->ptr;
^~
source/pdf/pdf-pkcs7.c: At top level:
source/pdf/pdf-pkcs7.c:107:1: error: variable ‘methods_bsegs’ has initializer but incomplete type
static BIO_METHOD methods_bsegs =
^~~~~~
source/pdf/pdf-pkcs7.c:109:2: warning: excess elements in struct initializer
0,"segment reader",
^
source/pdf/pdf-pkc…

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@viertel97
Comment options

@JorjMcKie
Comment options

@viertel97
Comment options

@JorjMcKie
Comment options

@viertel97
Comment options

Answer selected by JorjMcKie
Comment options

You must be logged in to vote
1 reply
@JorjMcKie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #946 on March 12, 2021 23:59.