#17740: id3v2 - convert.cpp build error - functions not declared in scope -----------------------------------+---------------------------------------- Reporter: bxf4@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: id3v2 -----------------------------------+---------------------------------------- Have tried to figure this one, but I've not been able to thus far. Build error for convert.o, here's the verbose output: {{{ mus:id3v2-0.1.11 bxf4$ sudo port -v install id3v2Password: ---> Building id3v2 g++ -I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o convert.o convert.cpp In file included from /opt/local/include/id3/utils.h:37, from /opt/local/include/id3/tag.h:34, from convert.cpp:3: /opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::move(unsigned char*, const unsigned char*, size_t)': /opt/local/include/id3/id3lib_strings.h:87: error: 'memmove' was not declared in this scope /opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::copy(unsigned char*, const unsigned char*, size_t)': /opt/local/include/id3/id3lib_strings.h:91: error: 'memcpy' was not declared in this scope make: *** [convert.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all " returned error 2 Command output: g++ -I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o convert.o convert.cpp In file included from /opt/local/include/id3/utils.h:37, from /opt/local/include/id3/tag.h:34, from convert.cpp:3: /opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::move(unsigned char*, const unsigned char*, size_t)': /opt/local/include/id3/id3lib_strings.h:87: error: 'memmove' was not declared in this scope /opt/local/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::copy(unsigned char*, const unsigned char*, size_t)': /opt/local/include/id3/id3lib_strings.h:91: error: 'memcpy' was not declared in this scope make: *** [convert.o] Error 1 Warning: the following items did not execute (for id3v2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Not sure if this is important, but when I tried 'port selfupdate' to go to 1.7.0, I got an error as well. So, I downloaded the 1.7.0 dmg and installed that instead. It seemed to work fine and everything else has worked since too, but I thought I'd mention it. -- Ticket URL: <http://trac.macports.org/ticket/17740> MacPorts <http://www.macports.org/> Ports system for Mac OS