error in portupgrading audio/libmtp : bad c++ code ?

beni beni at brinckman.info
Fri Aug 17 13:19:37 PDT 2007


Hi,

When trying to portupgrade audio/libmtp (and amarok), I'm getting this 
error : "Bad C++ code". 
Anything I can do about it or is this a work for the maintainer ?
Thanks,
-- 
Beni.


[...]
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

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0/examples.
*** Error code 1

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0.
*** Error code 1

Stop in /usr/ports/audio/libmtp/work/libmtp-0.2.0.
*** Error code 1

Stop in /usr/ports/audio/libmtp.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.43053.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libmtp-0.1.5 UPGRADE_PORT_VER=0.1.5 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! audio/libmtp (libmtp-0.1.5)   (bad C++ code)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
bsdaddict#   


More information about the freebsd-questions mailing list