Link libMagickWand-6.Q8.a error

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
iamhgdabc
Posts: 1
Joined: 2018-09-19T23:51:56-07:00
Authentication code: 1152

Link libMagickWand-6.Q8.a error

Post by iamhgdabc » 2018-09-19T23:55:03-07:00

eroor like this:
c

Code: Select all

hecking for ngx_small_light dependencies

/tmp/ccyMzZfS.o: In function `main':
/mona_code/honggd_compile/mobileopt/nginx/objs/autotest.c:8: undefined reference to `MagickWandGenesis'
collect2: ld returned 1 exit status
/mona_code/honggd_compile/mobileopt/modules/ngx_small_light/deps/ImageMagick/wand/.libs/libMagickWand-6.Q8.a: line 1: syntax error near unexpected token `newline'
/mona_code/honggd_compile/mobileopt/modules/ngx_small_light/deps/ImageMagick/wand/.libs/libMagickWand-6.Q8.a: line 1: `!<arch>'
--------

Code: Select all

#include <sys/types.h>
#include <unistd.h>
#include <wand/MagickWand.h>


int main() {
    MagickWandGenesis();
;
    return 0;
}

Post Reply