Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 11:08:20 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   libmtp-0.2.0 does not compile on 6.2
Message-ID:  <46C41404.5020309@janh.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46C41404.5020309>