Opened 10 years ago

Last modified 10 years ago

#41940 closed defect

sdcv lib.cpp undeclared identifier 'atol' - build failure — at Initial Version

Reported by: rsvcakaiser@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: sdcv

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.