libmtp-0.2.0 does not compile on 6.2

Jan Henrik Sylvester me at janh.de
Thu Aug 16 02:08:26 PDT 2007


I just tried to portupgrade libmtp, but it runs into a syntax error:

Making all in examples
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -I../src -O2 
-fno-strict-aliasing -pipe  -Wall -Wmissing-prototypes -MT connect.o -MD 
-MP -MF .deps/connect.Tpo -c -o connect.o connect.c
connect.c: In function `main':
connect.c:100: error: syntax error before "LIBMTP_VERSION_STRING"
*** Error code 1

The line in question is:

   fprintf(stdout, "libmtp version: " LIBMTP_VERSION_STRING "\n\n");

I currently do not find the definition of LIBMTP_VERSION_STRING... weird.

Any idea what is wrong?

Thanks,
Jan Henrik


More information about the freebsd-ports mailing list