Menu

#189 giflib 6.1.1: Missing symbol

v1.0_(example)
open
None
1
4 days ago
4 days ago
No

Actually, there are two problems:

1) the source file is not proerly versioned and lacks an extention.

2) the Makefile is missing a file. I get a missing symbol

/opt/local/var/macports/build/giflib6-9a26c042/work/compwrap/cc/usr/bin/clang -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -std=gnu99 -fPIC -Wall -Os -dynamiclib -current_version 7.2.0 qprintf.o getarg.o -o libutil.dylib
Undefined symbols for architecture arm64:
  "_GifErrorString", referenced from:
      _PrintGifError in qprintf.o
ld: symbol(s) not found for architecture arm64

until I add gif_err.c to USOURCES

USOURCES = qprintf.c getarg.c gif_err.c

Discussion


Log in to post a comment.

MongoDB Logo MongoDB