[MacPorts] #41940: sdcv lib.cpp undeclared identifier 'atol' - build failure
MacPorts
noreply at macports.org
Fri Dec 27 07:26:30 PST 2013
#41940: sdcv lib.cpp undeclared identifier 'atol' - build failure
----------------------------+--------------------------
Reporter: rsvcakaiser@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: sdcv |
----------------------------+--------------------------
Changes (by macsforever2000@…):
* keywords: sdcv, atol(tmpstr) =>
* owner: macports-tickets@… => ryandesign@…
* port: => sdcv
* milestone: MacPorts Future =>
Old 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
New 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
--
Comment:
In the future, please use WikiFormatting, fill in the Port field, Cc the
port maintainers ({{{port info --maintainers sdcv}}}) and do not set the
Milestone field.
Also, always attach the complete main.log instead of pasting a small
portion of it inline.
--
Ticket URL: <https://trac.macports.org/ticket/41940#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list