1 | udo port install xgraph---> Computing dependencies for xgraph |
---|
2 | ---> Building xgraph |
---|
3 | Error: org.macports.build for port xgraph returned: command execution failed |
---|
4 | Please see the log file for port xgraph for details: |
---|
5 | /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_xgraph/xgraph/main.log |
---|
6 | To report a bug, follow the instructions in the guide: |
---|
7 | http://guide.macports.org/#project.tickets |
---|
8 | Error: Processing of port xgraph failed |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | :info:build dialog.c:743:13: error: conflicting types for 'getline' |
---|
13 | :info:build int getline(); |
---|
14 | :info:build ^ |
---|
15 | :info:build /usr/include/stdio.h:449:9: note: previous declaration is here |
---|
16 | :info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); |
---|
17 | :info:build ^ |
---|
18 | :info:build dialog.c:781:34: error: too few arguments to function call, expected 3, have 2 |
---|
19 | :info:build while (getline(&lineptr, line)) { |
---|
20 | :info:build ~~~~~~~ ^ |
---|
21 | :info:build dialog.c:892:1: error: conflicting types for 'getline' |
---|
22 | :info:build getline(tptr, lptr) |
---|
23 | :info:build ^ |
---|
24 | :info:build /usr/include/stdio.h:449:9: note: previous declaration is here |
---|
25 | :info:build ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3); |
---|
26 | :info:build ^ |
---|
27 | :info:build 3 errors generated. |
---|
28 | :info:build make: *** [dialog.o] Error 1 |
---|