Page 1 of 1

Link libMagickWand-6.Q8.a error

Posted: 2018-09-19T23:55:03-07:00
by iamhgdabc
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;
}