Why does make OpenFT fail?

Should I try downloading another version of openFT? This one (0. 2. 1. 6) looks real bad! I'm running Fedora Core 4, kernel 2. 6. 12-1. 1398_FC4. Installed gift and giFTcurs, then untarred gift openft 0.

Linux Software 434 This topic was started by ,


data/avatar/default/avatar05.webp

10 Posts
Location -
Joined 2005-08-09
Should I try downloading another version of openFT? This one (0.2.1.6) looks real bad!
I'm running Fedora Core 4, kernel 2.6.12-1.1398_FC4.
Installed gift and giFTcurs, then untarred gift openft 0.2.1.6.
Ran configure and all went well.
Ran make (as root) and it's full of the following errors (couldn't fit everything here, so I'm only including the last bits):
 
In file included from ft_handshake.c:20:
../../src/ft_conn.h:51: error: 'ft_conn_initial' declared as function returning a function
../../src/ft_conn.h:63: error: syntax error before '*' token
../../src/ft_conn.h:63: error: 'ft_conn_auth' declared as function returning a function
../../src/ft_conn.h:70: error: 'ft_conn_need_parents' declared as function returning a function
../../src/ft_conn.h:76: error: 'ft_conn_need_peers' declared as function returning a function
../../src/ft_conn.h:81: error: 'ft_conn_need_index' declared as function returning a function
In file included from ft_handshake.c:23:
ft_handshake.h:22: error: syntax error before '*' token
ft_handshake.h:23: error: syntax error before '*' token
ft_handshake.h:24: error: syntax error before '*' token
ft_handshake.h:25: error: syntax error before '*' token
ft_handshake.h:26: error: syntax error before '*' token
ft_handshake.h:27: error: syntax error before '*' token
ft_handshake.h:28: error: syntax error before '*' token
ft_handshake.h:29: error: syntax error before '*' token
ft_handshake.h:30: error: syntax error before '*' token
ft_handshake.h:31: error: syntax error before '*' token
ft_handshake.h:32: error: syntax error before '*' token
ft_handshake.h:33: error: syntax error before '*' token
ft_handshake.c:31: error: syntax error before '*' token
ft_handshake.c:31: warning: type defaults to 'int' in declaration of 'ver_upgrade'
ft_handshake.c:31: warning: data definition has no type or storage class
ft_handshake.c:35: error: syntax error before '*' token
ft_handshake.c:41: error: syntax error before '*' token
ft_handshake.c: In function 'generate_msg':
ft_handshake.c:46: warning: implicit declaration of function 'dataset_length'
ft_handshake.c:46: error: 'upgset' undeclared (first use in this function)
ft_handshake.c:46: error: (Each undeclared identifier is reported only once
ft_handshake.c:46: error: for each function it appears in.)
ft_handshake.c:48: warning: implicit declaration of function 'stringf'
ft_handshake.c:53: warning: assignment makes pointer from integer without a cast
ft_handshake.c: At top level:
ft_handshake.c:58: error: syntax error before '*' token
ft_handshake.c: In function 'version_outdated':
ft_handshake.c:61: error: 'uint8_t' undeclared (first use in this function)
ft_handshake.c:61: error: syntax error before 'major'
ft_handshake.c:70: error: syntax error before ')' token
ft_handshake.c:70: error: 'major' undeclared (first use in this function)
ft_handshake.c:70: error: 'minor' undeclared (first use in this function)
ft_handshake.c:70: error: 'micro' undeclared (first use in this function)
ft_handshake.c:70: error: 'rev' undeclared (first use in this function)
ft_handshake.c:74: warning: assignment makes pointer from integer without a cast
ft_handshake.c:77: warning: implicit declaration of function 'dataset_new'
ft_handshake.c:77: error: 'DATASET_HASH' undeclared (first use in this function)
ft_handshake.c:77: warning: assignment makes pointer from integer without a cast
ft_handshake.c:79: warning: implicit declaration of function 'dataset_insert'
ft_handshake.c:80: error: syntax error before ')' token
ft_handshake.c:80: error: syntax error before ')' token
ft_handshake.c:81: warning: implicit declaration of function 'STRLEN_0'
ft_handshake.c:86: error: request for member 'message' in something not a structure or union
ft_handshake.c: At top level:
ft_handshake.c:89: error: syntax error before '*' token
ft_handshake.c: In function 'ft_version_response':
ft_handshake.c:91: error: 'uint8_t' undeclared (first use in this function)
ft_handshake.c:91: error: syntax error before 'major'
ft_handshake.c:99: error: 'major' undeclared (first use in this function)
ft_handshake.c:99: error: syntax error before 'ft_packet_get_uint16'
ft_handshake.c:100: error: 'minor' undeclared (first use in this function)
ft_handshake.c:100: error: syntax error before 'ft_packet_get_uint16'
ft_handshake.c:101: error: 'micro' undeclared (first use in this function)
ft_handshake.c:101: error: syntax error before 'ft_packet_get_uint16'
ft_handshake.c:102: error: 'rev' undeclared (first use in this function)
ft_handshake.c:102: error: syntax error before 'ft_packet_get_uint16'
ft_handshake.c:104: error: 'packet' undeclared (first use in this function)
ft_handshake.c:106: error: request for member 'DBGSOCK' in something not a structure or union
ft_handshake.c:111: error: syntax error before ')' token
ft_handshake.c:113: error: syntax error before ')' token
ft_handshake.c:118: error: syntax error before ')' token
ft_handshake.c:120: error: syntax error before ')' token
ft_handshake.c:121: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:137: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodeinfo_request':
ft_handshake.c:139: error: 'in_addr_t' undeclared (first use in this function)
ft_handshake.c:139: error: syntax error before 'host'
ft_handshake.c:141: warning: statement with no effect
ft_handshake.c:148: error: 'host' undeclared (first use in this function)
ft_handshake.c:148: error: 'packet' undeclared (first use in this function)
ft_handshake.c:149: error: dereferencing pointer to incomplete type
ft_handshake.c:152: error: 'inode' undeclared (first use in this function)
ft_handshake.c:167: error: invalid type argument of '->'
ft_handshake.c:171: error: invalid type argument of '->'
ft_handshake.c:171: error: invalid type argument of '->'
ft_handshake.c:171: error: invalid type argument of '->'
ft_handshake.c: At top level:
ft_handshake.c:174: error: syntax error before 'ip'
ft_handshake.c: In function 'pending_packets':
ft_handshake.c:177: error: 'node' undeclared (first use in this function)
ft_handshake.c:181: error: 'ip' undeclared (first use in this function)
ft_handshake.c:191: error: 'port' undeclared (first use in this function)
ft_handshake.c:196: error: 'http_port' undeclared (first use in this function)
ft_handshake.c:197: error: 'klass' undeclared (first use in this function)
ft_handshake.c: At top level:
ft_handshake.c:204: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodeinfo_response':
ft_handshake.c:206: error: 'node' undeclared (first use in this function)
ft_handshake.c:207: error: 'in_addr_t' undeclared (first use in this function)
ft_handshake.c:207: error: syntax error before 'ip'
ft_handshake.c:209: error: 'in_port_t' undeclared (first use in this function)
ft_handshake.c:209: error: syntax error before 'port'
ft_handshake.c:213: error: 'ip' undeclared (first use in this function)
ft_handshake.c:213: error: 'packet' undeclared (first use in this function)
ft_handshake.c:214: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c:215: error: 'port' undeclared (first use in this function)
ft_handshake.c:216: error: 'http_port' undeclared (first use in this function)
ft_handshake.c:225: error: syntax error before ')' token
ft_handshake.c:264: error: syntax error before ')' token
ft_handshake.c:269: error: syntax error before ')' token
ft_handshake.c:272: error: syntax error before ')' token
ft_handshake.c:273: error: syntax error before ')' token
ft_handshake.c:274: error: syntax error before ')' token
ft_handshake.c:279: error: syntax error before ')' token
ft_handshake.c:279: error: syntax error before ')' token
ft_handshake.c:281: error: syntax error before ')' token
ft_handshake.c:281: error: syntax error before ')' token
ft_handshake.c:281: error: 'FALSE' undeclared (first use in this function)
ft_handshake.c:285: error: syntax error before ')' token
ft_handshake.c:285: error: syntax error before ')' token
ft_handshake.c:285: error: syntax error before ')' token
ft_handshake.c:285: error: syntax error before ')' token
ft_handshake.c:287: error: syntax error before ')' token
ft_handshake.c:287: error: syntax error before ')' token
ft_handshake.c:294: error: syntax error before ')' token
ft_handshake.c:294: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:301: error: syntax error before '*' token
ft_handshake.c: In function 'nodelist_add':
ft_handshake.c:303: error: 'TCPC' undeclared (first use in this function)
ft_handshake.c:304: error: 'listpkt' undeclared (first use in this function)
ft_handshake.c:306: warning: implicit declaration of function 'array_list'
ft_handshake.c:306: error: 'args' undeclared (first use in this function)
ft_handshake.c:308: warning: implicit declaration of function 'assert'
ft_handshake.c:313: error: 'node' undeclared (first use in this function)
ft_handshake.c:313: error: syntax error before ')' token
ft_handshake.c:314: error: 'FALSE' undeclared (first use in this function)
ft_handshake.c:341: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c:342: error: 'uint16_t' undeclared (first use in this function)
ft_handshake.c: At top level:
ft_handshake.c:347: error: syntax error before '*' token
ft_handshake.c: In function 'nodelist_default':
ft_handshake.c:352: error: 'FTNetorgForeach' undeclared (first use in this function)
ft_handshake.c:352: error: syntax error before 'nodelist_add'
ft_handshake.c:352: error: 'args' undeclared (first use in this function)
ft_handshake.c:359: error: syntax error before 'nodelist_add'
ft_handshake.c: At top level:
ft_handshake.c:365: error: syntax error before '*' token
ft_handshake.c: In function 'nodelist_request':
ft_handshake.c:368: error: 'Array' undeclared (first use in this function)
ft_handshake.c:368: error: 'args' undeclared (first use in this function)
ft_handshake.c:372: warning: implicit declaration of function 'array_push'
ft_handshake.c:373: error: 'listpkt' undeclared (first use in this function)
ft_handshake.c:377: error: 'klass' undeclared (first use in this function)
ft_handshake.c:384: error: 'nreq' undeclared (first use in this function)
ft_handshake.c:385: error: 'FTNetorgForeach' undeclared (first use in this function)
ft_handshake.c:385: error: syntax error before 'nodelist_add'
ft_handshake.c:389: warning: implicit declaration of function 'array_unset'
ft_handshake.c: At top level:
ft_handshake.c:394: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodelist_request':
ft_handshake.c:396: error: 'reply' undeclared (first use in this function)
ft_handshake.c:397: error: 'uint16_t' undeclared (first use in this function)
ft_handshake.c:397: error: syntax error before 'klass'
ft_handshake.c:404: error: 'packet' undeclared (first use in this function)
ft_handshake.c:406: error: 'klass' undeclared (first use in this function)
ft_handshake.c:406: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c:407: error: 'nreq' undeclared (first use in this function)
ft_handshake.c: At top level:
ft_handshake.c:435: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodelist_response':
ft_handshake.c:437: error: 'node' undeclared (first use in this function)
ft_handshake.c:438: error: 'in_addr_t' undeclared (first use in this function)
ft_handshake.c:438: error: syntax error before 'ip'
ft_handshake.c:439: error: 'in_port_t' undeclared (first use in this function)
ft_handshake.c:440: error: 'uint16_t' undeclared (first use in this function)
ft_handshake.c:465: error: 'ip' undeclared (first use in this function)
ft_handshake.c:465: error: 'packet' undeclared (first use in this function)
ft_handshake.c:466: error: 'port' undeclared (first use in this function)
ft_handshake.c:466: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c:467: error: 'klass' undeclared (first use in this function)
ft_handshake.c:499: error: invalid lvalue in assignment
ft_handshake.c:500: error: invalid lvalue in assignment
ft_handshake.c:502: warning: the address of 'need_peers', will always evaluate as 'true'
ft_handshake.c:502: warning: the address of 'need_parents', will always evaluate as 'true'
ft_handshake.c:506: warning: the address of 'need_parents', will always evaluate as 'true'
ft_handshake.c:520: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:525: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodecap_request':
ft_handshake.c:527: error: 'pkt' undeclared (first use in this function)
ft_handshake.c:534: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c: At top level:
ft_handshake.c:542: error: syntax error before '*' token
ft_handshake.c: In function 'ft_nodecap_response':
ft_handshake.c:544: error: 'uint16_t' undeclared (first use in this function)
ft_handshake.c:544: error: syntax error before 'key_id'
ft_handshake.c:547: error: syntax error before ')' token
ft_handshake.c:547: error: syntax error before ')' token
ft_handshake.c:548: error: syntax error before ')' token
ft_handshake.c:548: error: syntax error before ')' token
ft_handshake.c:548: error: 'DATASET_LIST' undeclared (first use in this function)
ft_handshake.c:550: error: 'packet' undeclared (first use in this function)
ft_handshake.c:552: error: 'key_id' undeclared (first use in this function)
ft_handshake.c:552: error: 'TRUE' undeclared (first use in this function)
ft_handshake.c:558: warning: implicit declaration of function 'dataset_insertstr'
ft_handshake.c:558: error: syntax error before ')' token
ft_handshake.c:558: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:564: error: syntax error before '*' token
ft_handshake.c: In function 'ft_ping_request':
ft_handshake.c:566: error: syntax error before ')' token
ft_handshake.c:566: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:570: error: syntax error before '*' token
ft_handshake.c: In function 'ft_ping_response':
ft_handshake.c:572: error: syntax error before ')' token
ft_handshake.c:572: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:581: error: syntax error before '*' token
ft_handshake.c: In function 'ft_session_request':
ft_handshake.c:583: error: syntax error before ')' token
ft_handshake.c:583: error: syntax error before ')' token
ft_handshake.c: At top level:
ft_handshake.c:589: error: syntax error before '*' token
ft_handshake.c: In function 'ft_session_response':
ft_handshake.c:591: error: 'uint16_t' undeclared (first use in this function)
ft_handshake.c:591: error: syntax error before 'reply'
ft_handshake.c:593: error: syntax error before ')' token
ft_handshake.c:593: error: syntax error before ')' token
ft_handshake.c:596: error: 'reply' undeclared (first use in this function)
ft_handshake.c:596: error: 'packet' undeclared (first use in this function)
ft_handshake.c:596: error: 'TRUE' undeclared (first use in this function)
make[3]: *** [ft_handshake.lo] Error 1
make[3]: Leaving directory `/home/geisew/Desktop/gift-openft-0.2.1.6/src/proto'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/geisew/Desktop/gift-openft-0.2.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/geisew/Desktop/gift-openft-0.2.1.6'
make: *** [all] Error 2

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Or, use yum from the Dag Repository. Click on the link "Dag RPM Repository" to get to the main page and instructions.
 
This should resolve any dependency problems.

data/avatar/default/avatar05.webp

10 Posts
Location -
Joined 2005-08-09
OP
I'll try that. However, upon closer inspection of the make output (the first few errors), it seems it's looking for and not finding some files in libgift. Libgift is there, but it looks like make wants certain files in it that don't exist.
 
So, first I'll try Yum, then if no luck, I'll have to come back here and post those errors (when I get back home).