[MacPorts] #41940: sdcv lib.cpp undeclared identifier 'atol' - build failure

MacPorts noreply at macports.org
Fri Dec 27 01:07:05 PST 2013


#41940: sdcv lib.cpp undeclared identifier 'atol' - build failure
--------------------------------+--------------------------------
 Reporter:  rsvcakaiser@…       |      Owner:  macports-tickets@…
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:  MacPorts Future
Component:  ports               |    Version:  2.2.1
 Keywords:  sdcv, atol(tmpstr)  |       Port:
--------------------------------+--------------------------------
 Dear Maintainer,

 I'm trying to build latest sdcv (console version of stardict) on mac os x
 10.9 macbook air ; updated port

 Excerpt of the log file:
 build make[3]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_sdcv/sdcv/work/trunk/src/lib'
 :info:build /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include   -I/opt/local/include  -pipe -Os -arch x86_64 -MT
 lib.o -MD -MP -MF .deps/lib.Tpo -c -o lib.o lib.cpp
 :info:build lib.cpp:91:15: error: use of undeclared identifier 'atol'
 :info:build   wordcount = atol(tmpstr);
 :info:build               ^
 :info:build lib.cpp:103:23: error: use of undeclared identifier 'atol'
 :info:build     index_file_size = atol(tmpstr);
 :info:build                       ^
 :info:build lib.cpp:116:23: error: use of undeclared identifier 'atol'
 :info:build     index_file_size = atol(tmpstr);
 :info:build                       ^
 :info:build 3 errors generated.
 :info:build make[3]: *** [lib.o] Error 1
 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/

 Any idea how to solve this?

 Best regards from France,
 Ralf

-- 
Ticket URL: <https://trac.macports.org/ticket/41940>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list