LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-04-2005, 09:47 AM   #1
eddiethefox
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Rep: Reputation: 0
Question Need some IPX knowlege


OK this is my first post so be gentle.

I'm not a linux guru or anything, nor am I a noob, but I know enough to make things interesting here at the office.

I had an old server (dual p3 with a DPT RAID5) upstairs so I set it up as a Fedora C3 server for the purpose of making backups and what have you. I've installed just the basics to have a server running,so no GUI installed just terminal access and ssh, samba, ftp, etc.

No problems at all backing up win2000server shares with rsync. But, I have problems with netware. We have this ancient Novell Netware 3.12 server running in a department that has to be backed up too. But I cant get this IPX client module to compile.

I'm trying to install the IPX client ncpfs that's demonstrated at www ibiblio org / mdw / HOWTO / IPX-HOWTO-9
(sory I can't post and url yet)

when I run make I get the output in the following posts:
 
Old 03-04-2005, 09:48 AM   #2
eddiethefox
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Code:
[root@fedora ncpfs-2.0.10]# make
for i in lib sutil util ipx-1.0 man; do make -C $i all; done
make[1]: Entering directory `/root/ncpfs-2.0.10/lib'
gcc -O2 -g -Wall -I/root/ncpfs-2.0.10/include -DHAVE_KERNELD -DNCPFS_VERSION=\"2.0.10\" -fPIC -c ncplib.c 
In file included from /usr/include/linux/ncp_fs.h:12,
                 from /root/ncpfs-2.0.10/include/ncplib.h:13,
                 from ncplib.c:8:
/usr/include/linux/in.h:114: error: syntax error before "sa_family_t"
/usr/include/linux/in.h:121: error: syntax error before '}' token
In file included from /usr/include/sys/param.h:42,
                 from /root/ncpfs-2.0.10/include/ncplib.h:15,
                 from ncplib.c:8:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:10: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
/usr/include/linux/types.h:21: error: previous declaration of 'gid_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:12: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:13: error: previous declaration of 'nlink_t' was here
/usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
/usr/include/linux/types.h:20: error: previous declaration of 'uid_t' was here
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/sys/param.h:42,
                 from /root/ncpfs-2.0.10/include/ncplib.h:15,
                 from ncplib.c:8:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:9: error: previous declaration of 'fd_set' was here
In file included from ncplib.c:8:
/root/ncpfs-2.0.10/include/ncplib.h:129: error: `NCP_BINDERY_NAME_LEN' undeclared here (not in a function)
/root/ncpfs-2.0.10/include/ncplib.h:292: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:292: warning: its scope is only this definition or declaration, which is probably not what you want
/root/ncpfs-2.0.10/include/ncplib.h:312: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:316: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:320: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:369: warning: "struct nw_property" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:406: warning: "struct nw_property" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:427: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:439: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:458: warning: "struct ncp_filesearch_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:464: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:464: warning: "struct ncp_filesearch_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:469: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:475: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:483: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:489: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:594: warning: "struct nw_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:615: warning: "struct queue_job" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:620: warning: "struct queue_job" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:632: warning: "struct queue_job" declared inside parameter list
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:27,
                 from ncplib.c:18:
/usr/include/bits/uio.h:43: error: redefinition of `struct iovec'
In file included from /usr/include/sys/socket.h:35,
                 from ncplib.c:18:
/usr/include/bits/socket.h:146: error: redefinition of `struct sockaddr'
/usr/include/bits/socket.h:173: error: syntax error before numeric constant
/usr/include/bits/socket.h:188: error: syntax error before numeric constant
/usr/include/bits/socket.h:216: error: redefinition of `struct msghdr'
/usr/include/bits/socket.h:231: error: redefinition of `struct cmsghdr'
/usr/include/bits/socket.h:258: error: conflicting types for '__cmsg_nxthdr'
/usr/include/linux/socket.h:99: error: previous definition of '__cmsg_nxthdr' was here
/usr/include/bits/socket.h:286: error: syntax error before numeric constant
/usr/include/bits/socket.h:297: error: redefinition of `struct ucred'
/usr/include/bits/socket.h:309: error: redefinition of `struct linger'
ncplib.c: In function `ipx_fprint_network':
ncplib.c:96: warning: implicit declaration of function `ntohl'
ncplib.c:96: warning: long unsigned int format, int arg (arg 3)
ncplib.c: In function `ipx_fprint_port':
ncplib.c:102: warning: implicit declaration of function `ntohs'
ncplib.c: In function `ipx_sscanf_saddr':
ncplib.c:167: warning: long unsigned int format, __u32 arg (arg 3)
ncplib.c:171: warning: implicit declaration of function `htonl'
ncplib.c:190: warning: implicit declaration of function `htons'
ncplib.c: In function `do_ncp_call':
ncplib.c:365: error: `MSG_PEEK' undeclared (first use in this function)
ncplib.c:365: error: (Each undeclared identifier is reported only once
ncplib.c:365: error: for each function it appears in.)
ncplib.c: In function `ncp_connect_any':
ncplib.c:604: error: `NCP_BINDERY_FSERVER' undeclared (first use in this function)
ncplib.c: In function `ncp_find_fileserver':
ncplib.c:619: error: `NCP_BINDERY_FSERVER' undeclared (first use in this function)
ncplib.c: In function `ncp_find_server':
ncplib.c:627: warning: unused variable `server'
ncplib.c: In function `ncp_get_conn_ent':
ncplib.c:944: warning: unused variable `server'
ncplib.c: In function `ncp_find_conn_spec':
ncplib.c:1176: error: `NCP_BINDERY_USER' undeclared (first use in this function)
ncplib.c: In function `ncp_initialize':
ncplib.c:1354: error: `NCP_BINDERY_USER' undeclared (first use in this function)
ncplib.c: In function `ncp_request':
ncplib.c:1367: error: label at end of compound statement
ncplib.c: At top level:
ncplib.c:1682: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:1683: error: conflicting types for 'ncp_get_stations_logged_info'
/root/ncpfs-2.0.10/include/ncplib.h:292: error: previous declaration of 'ncp_get_stations_logged_info' was here
ncplib.c:1683: error: conflicting types for 'ncp_get_stations_logged_info'
/root/ncpfs-2.0.10/include/ncplib.h:292: error: previous declaration of 'ncp_get_stations_logged_info' was here
ncplib.c: In function `ncp_get_stations_logged_info':
ncplib.c:1693: error: dereferencing pointer to incomplete type
ncplib.c:1694: error: dereferencing pointer to incomplete type
ncplib.c:1695: error: dereferencing pointer to incomplete type
ncplib.c:1696: error: dereferencing pointer to incomplete type
ncplib.c:1697: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:1781: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:1782: error: conflicting types for 'ncp_get_bindery_object_id'
/root/ncpfs-2.0.10/include/ncplib.h:312: error: previous declaration of 'ncp_get_bindery_object_id' was here
ncplib.c:1782: error: conflicting types for 'ncp_get_bindery_object_id'
/root/ncpfs-2.0.10/include/ncplib.h:312: error: previous declaration of 'ncp_get_bindery_object_id' was here
ncplib.c: In function `ncp_get_bindery_object_id':
ncplib.c:1800: error: dereferencing pointer to incomplete type
ncplib.c:1801: error: dereferencing pointer to incomplete type
ncplib.c:1802: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:1810: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:1811: error: conflicting types for 'ncp_get_bindery_object_name'
/root/ncpfs-2.0.10/include/ncplib.h:316: error: previous declaration of 'ncp_get_bindery_object_name' was here
ncplib.c:1811: error: conflicting types for 'ncp_get_bindery_object_name'
/root/ncpfs-2.0.10/include/ncplib.h:316: error: previous declaration of 'ncp_get_bindery_object_name' was here
ncplib.c: In function `ncp_get_bindery_object_name':
ncplib.c:1821: error: dereferencing pointer to incomplete type
ncplib.c:1822: error: dereferencing pointer to incomplete type
ncplib.c:1823: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:1831: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:1832: error: conflicting types for 'ncp_scan_bindery_object'
/root/ncpfs-2.0.10/include/ncplib.h:320: error: previous declaration of 'ncp_scan_bindery_object' was here
ncplib.c:1832: error: conflicting types for 'ncp_scan_bindery_object'
/root/ncpfs-2.0.10/include/ncplib.h:320: error: previous declaration of 'ncp_scan_bindery_object' was here
ncplib.c: In function `ncp_scan_bindery_object':
ncplib.c:1844: error: dereferencing pointer to incomplete type
ncplib.c:1845: error: dereferencing pointer to incomplete type
ncplib.c:1846: error: dereferencing pointer to incomplete type
ncplib.c:1848: error: dereferencing pointer to incomplete type
ncplib.c:1849: error: dereferencing pointer to incomplete type
ncplib.c:1850: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:1895: warning: "struct nw_property" declared inside parameter list
ncplib.c:1896: error: conflicting types for 'ncp_read_property_value'
/root/ncpfs-2.0.10/include/ncplib.h:369: error: previous declaration of 'ncp_read_property_value' was here
ncplib.c:1896: error: conflicting types for 'ncp_read_property_value'
/root/ncpfs-2.0.10/include/ncplib.h:369: error: previous declaration of 'ncp_read_property_value' was here
ncplib.c: In function `ncp_read_property_value':
ncplib.c:1909: error: dereferencing pointer to incomplete type
ncplib.c:1910: error: dereferencing pointer to incomplete type
ncplib.c:1911: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2043: warning: "struct nw_property" declared inside parameter list
ncplib.c:2044: error: conflicting types for 'ncp_write_property_value'
/root/ncpfs-2.0.10/include/ncplib.h:406: error: previous declaration of 'ncp_write_property_value' was here
ncplib.c:2044: error: conflicting types for 'ncp_write_property_value'
/root/ncpfs-2.0.10/include/ncplib.h:406: error: previous declaration of 'ncp_write_property_value' was here
ncplib.c: In function `ncp_write_property_value':
ncplib.c:2050: error: dereferencing pointer to incomplete type
ncplib.c:2052: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2088: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:2089: error: conflicting types for 'ncp_login_encrypted'
/root/ncpfs-2.0.10/include/ncplib.h:427: error: previous declaration of 'ncp_login_encrypted' was here
ncplib.c:2089: error: conflicting types for 'ncp_login_encrypted'
/root/ncpfs-2.0.10/include/ncplib.h:427: error: previous declaration of 'ncp_login_encrypted' was here
ncplib.c: In function `ncp_login_encrypted':
ncplib.c:2090: error: dereferencing pointer to incomplete type
ncplib.c:2100: error: dereferencing pointer to incomplete type
ncplib.c:2101: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2128: warning: "struct ncp_bindery_object" declared inside parameter list
ncplib.c:2129: error: conflicting types for 'ncp_change_login_passwd'
/root/ncpfs-2.0.10/include/ncplib.h:439: error: previous declaration of 'ncp_change_login_passwd' was here
ncplib.c:2129: error: conflicting types for 'ncp_change_login_passwd'
/root/ncpfs-2.0.10/include/ncplib.h:439: error: previous declaration of 'ncp_change_login_passwd' was here
ncplib.c: In function `ncp_change_login_passwd':
ncplib.c:2130: error: dereferencing pointer to incomplete type
ncplib.c:2151: error: dereferencing pointer to incomplete type
ncplib.c:2152: error: dereferencing pointer to incomplete type
ncplib.c: In function `ncp_login_user':
ncplib.c:2165: error: `NCP_BINDERY_USER' undeclared (first use in this function)
ncplib.c: In function `ncp_login_object':
ncplib.c:2176: error: storage size of 'user' isn't known
ncplib.c:2191: error: storage size of 'p' isn't known
ncplib.c:2201: error: `NCP_BINDERY_USER' undeclared (first use in this function)
ncplib.c:2191: warning: unused variable `p'
ncplib.c:2176: warning: unused variable `user'
ncplib.c: At top level:
ncplib.c:2272: warning: "struct ncp_filesearch_info" declared inside parameter list
ncplib.c:2273: error: conflicting types for 'ncp_file_search_init'
/root/ncpfs-2.0.10/include/ncplib.h:458: error: previous declaration of 'ncp_file_search_init' was here
ncplib.c:2273: error: conflicting types for 'ncp_file_search_init'
/root/ncpfs-2.0.10/include/ncplib.h:458: error: previous declaration of 'ncp_file_search_init' was here
 
Old 03-04-2005, 09:49 AM   #3
eddiethefox
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Code:
ncplib.c: In function `ncp_file_search_init':
ncplib.c:2285: error: dereferencing pointer to incomplete type
ncplib.c:2286: error: dereferencing pointer to incomplete type
ncplib.c:2287: error: dereferencing pointer to incomplete type
ncplib.c:2288: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2298: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c:2298: warning: "struct ncp_filesearch_info" declared inside parameter list
ncplib.c:2299: error: conflicting types for 'ncp_file_search_continue'
/root/ncpfs-2.0.10/include/ncplib.h:464: error: previous declaration of 'ncp_file_search_continue' was here
ncplib.c:2299: error: conflicting types for 'ncp_file_search_continue'
/root/ncpfs-2.0.10/include/ncplib.h:464: error: previous declaration of 'ncp_file_search_continue' was here
ncplib.c: In function `ncp_file_search_continue':
ncplib.c:2304: error: dereferencing pointer to incomplete type
ncplib.c:2305: error: dereferencing pointer to incomplete type
ncplib.c:2306: error: dereferencing pointer to incomplete type
ncplib.c:2316: error: dereferencing pointer to incomplete type
ncplib.c:2318: error: dereferencing pointer to incomplete type
ncplib.c:2318: error: dereferencing pointer to incomplete type
ncplib.c:2319: error: dereferencing pointer to incomplete type
ncplib.c:2320: error: `NCP_MAX_FILENAME' undeclared (first use in this function)
ncplib.c:2322: error: dereferencing pointer to incomplete type
ncplib.c:2323: error: dereferencing pointer to incomplete type
ncplib.c:2324: error: dereferencing pointer to incomplete type
ncplib.c:2325: error: dereferencing pointer to incomplete type
ncplib.c:2326: error: dereferencing pointer to incomplete type
ncplib.c:2327: error: dereferencing pointer to incomplete type
ncplib.c:2328: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2337: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c:2338: error: conflicting types for 'ncp_get_finfo'
/root/ncpfs-2.0.10/include/ncplib.h:469: error: previous declaration of 'ncp_get_finfo' was here
ncplib.c:2338: error: conflicting types for 'ncp_get_finfo'
/root/ncpfs-2.0.10/include/ncplib.h:469: error: previous declaration of 'ncp_get_finfo' was here
ncplib.c: In function `ncp_get_finfo':
ncplib.c:2341: error: storage size of 'fsinfo' isn't known
ncplib.c:2341: warning: unused variable `fsinfo'
ncplib.c: At top level:
ncplib.c:2365: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c:2366: error: conflicting types for 'ncp_open_file'
/root/ncpfs-2.0.10/include/ncplib.h:475: error: previous declaration of 'ncp_open_file' was here
ncplib.c:2366: error: conflicting types for 'ncp_open_file'
/root/ncpfs-2.0.10/include/ncplib.h:475: error: previous declaration of 'ncp_open_file' was here
ncplib.c: In function `ncp_open_file':
ncplib.c:2380: error: dereferencing pointer to incomplete type
ncplib.c:2383: error: dereferencing pointer to incomplete type
ncplib.c:2383: error: dereferencing pointer to incomplete type
ncplib.c:2384: error: dereferencing pointer to incomplete type
ncplib.c:2385: error: `NCP_MAX_FILENAME' undeclared (first use in this function)
ncplib.c:2387: error: dereferencing pointer to incomplete type
ncplib.c:2388: error: dereferencing pointer to incomplete type
ncplib.c:2389: error: dereferencing pointer to incomplete type
ncplib.c:2390: error: dereferencing pointer to incomplete type
ncplib.c:2391: error: dereferencing pointer to incomplete type
ncplib.c:2392: error: dereferencing pointer to incomplete type
ncplib.c:2393: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2418: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c: In function `ncp_do_create':
ncplib.c:2432: error: dereferencing pointer to incomplete type
ncplib.c:2435: error: dereferencing pointer to incomplete type
ncplib.c:2435: error: dereferencing pointer to incomplete type
ncplib.c:2436: error: dereferencing pointer to incomplete type
ncplib.c:2437: error: `NCP_MAX_FILENAME' undeclared (first use in this function)
ncplib.c:2439: error: dereferencing pointer to incomplete type
ncplib.c:2440: error: dereferencing pointer to incomplete type
ncplib.c:2441: error: dereferencing pointer to incomplete type
ncplib.c:2442: error: dereferencing pointer to incomplete type
ncplib.c:2443: error: dereferencing pointer to incomplete type
ncplib.c:2444: error: dereferencing pointer to incomplete type
ncplib.c:2445: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2455: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c:2456: error: conflicting types for 'ncp_create_newfile'
/root/ncpfs-2.0.10/include/ncplib.h:483: error: previous declaration of 'ncp_create_newfile' was here
ncplib.c:2456: error: conflicting types for 'ncp_create_newfile'
/root/ncpfs-2.0.10/include/ncplib.h:483: error: previous declaration of 'ncp_create_newfile' was here
ncplib.c:2464: warning: "struct ncp_file_info" declared inside parameter list
ncplib.c:2465: error: conflicting types for 'ncp_create_file'
/root/ncpfs-2.0.10/include/ncplib.h:489: error: previous declaration of 'ncp_create_file' was here
ncplib.c:2465: error: conflicting types for 'ncp_create_file'
/root/ncpfs-2.0.10/include/ncplib.h:489: error: previous declaration of 'ncp_create_file' was here
ncplib.c:2840: warning: "struct nw_file_info" declared inside parameter list
ncplib.c:2841: error: conflicting types for 'ncp_open_create_file_or_subdir'
/root/ncpfs-2.0.10/include/ncplib.h:594: error: previous declaration of 'ncp_open_create_file_or_subdir' was here
ncplib.c:2841: error: conflicting types for 'ncp_open_create_file_or_subdir'
/root/ncpfs-2.0.10/include/ncplib.h:594: error: previous declaration of 'ncp_open_create_file_or_subdir' was here
ncplib.c: In function `ncp_open_create_file_or_subdir':
ncplib.c:2844: error: dereferencing pointer to incomplete type
ncplib.c:2864: error: dereferencing pointer to incomplete type
ncplib.c:2865: error: dereferencing pointer to incomplete type
ncplib.c:2866: error: dereferencing pointer to incomplete type
ncplib.c:2867: error: dereferencing pointer to incomplete type
ncplib.c:2868: error: dereferencing pointer to incomplete type
ncplib.c:2868: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:2982: warning: "struct queue_job" declared inside parameter list
ncplib.c:2983: error: conflicting types for 'ncp_create_queue_job_and_file'
/root/ncpfs-2.0.10/include/ncplib.h:615: error: previous declaration of 'ncp_create_queue_job_and_file' was here
ncplib.c:2983: error: conflicting types for 'ncp_create_queue_job_and_file'
/root/ncpfs-2.0.10/include/ncplib.h:615: error: previous declaration of 'ncp_create_queue_job_and_file' was here
ncplib.c: In function `ncp_create_queue_job_and_file':
ncplib.c:2988: error: dereferencing pointer to incomplete type
ncplib.c:2988: error: dereferencing pointer to incomplete type
ncplib.c:2995: error: dereferencing pointer to incomplete type
ncplib.c:2996: error: dereferencing pointer to incomplete type
ncplib.c:2996: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:3005: warning: "struct queue_job" declared inside parameter list
ncplib.c:3006: error: conflicting types for 'ncp_close_file_and_start_job'
/root/ncpfs-2.0.10/include/ncplib.h:620: error: previous declaration of 'ncp_close_file_and_start_job' was here
ncplib.c:3006: error: conflicting types for 'ncp_close_file_and_start_job'
/root/ncpfs-2.0.10/include/ncplib.h:620: error: previous declaration of 'ncp_close_file_and_start_job' was here
ncplib.c: In function `ncp_close_file_and_start_job':
ncplib.c:3011: error: dereferencing pointer to incomplete type
ncplib.c: At top level:
ncplib.c:3048: warning: "struct queue_job" declared inside parameter list
ncplib.c:3049: error: conflicting types for 'ncp_service_queue_job'
/root/ncpfs-2.0.10/include/ncplib.h:632: error: previous declaration of 'ncp_service_queue_job' was here
ncplib.c:3049: error: conflicting types for 'ncp_service_queue_job'
/root/ncpfs-2.0.10/include/ncplib.h:632: error: previous declaration of 'ncp_service_queue_job' was here
ncplib.c: In function `ncp_service_queue_job':
ncplib.c:3061: error: dereferencing pointer to incomplete type
ncplib.c:3062: error: dereferencing pointer to incomplete type
ncplib.c:3062: error: dereferencing pointer to incomplete type
make[1]: *** [ncplib.o] Error 1
make[1]: Leaving directory `/root/ncpfs-2.0.10/lib'
make[1]: Entering directory `/root/ncpfs-2.0.10/sutil'
gcc -O2 -g -Wall -I/root/ncpfs-2.0.10/include -DHAVE_KERNELD -DNCPFS_VERSION=\"2.0.10\"   -c -o ncpmount.o ncpmount.c
In file included from ncpmount.c:40:
/usr/include/linux/ipx.h:11: error: syntax error before "__u16"
/usr/include/linux/ipx.h:14: error: syntax error before "sipx_type"
/usr/include/linux/ipx.h:16: error: syntax error before '}' token
/usr/include/linux/ipx.h:29: error: syntax error before "__u32"
/usr/include/linux/ipx.h:32: error: syntax error before '}' token
/usr/include/linux/ipx.h:36: error: syntax error before "__u32"
/usr/include/linux/ipx.h:50: error: syntax error before '}' token
/usr/include/linux/ipx.h:64: error: syntax error before "__u32"
/usr/include/linux/ipx.h:74: error: syntax error before '}' token
In file included from /usr/include/linux/ncp_fs.h:12,
                 from ncpmount.c:45:
/usr/include/linux/in.h:25: error: conflicting types for 'IPPROTO_IP'
/usr/include/netinet/in.h:33: error: previous definition of 'IPPROTO_IP' was here
/usr/include/linux/in.h:26: error: conflicting types for 'IPPROTO_ICMP'
/usr/include/netinet/in.h:37: error: previous definition of 'IPPROTO_ICMP' was here
/usr/include/linux/in.h:27: error: conflicting types for 'IPPROTO_IGMP'
/usr/include/netinet/in.h:39: error: previous definition of 'IPPROTO_IGMP' was here
/usr/include/linux/in.h:28: error: conflicting types for 'IPPROTO_IPIP'
/usr/include/netinet/in.h:41: error: previous definition of 'IPPROTO_IPIP' was here
/usr/include/linux/in.h:29: error: conflicting types for 'IPPROTO_TCP'
/usr/include/netinet/in.h:43: error: previous definition of 'IPPROTO_TCP' was here
/usr/include/linux/in.h:30: error: conflicting types for 'IPPROTO_EGP'
/usr/include/netinet/in.h:45: error: previous definition of 'IPPROTO_EGP' was here
/usr/include/linux/in.h:31: error: conflicting types for 'IPPROTO_PUP'
/usr/include/netinet/in.h:47: error: previous definition of 'IPPROTO_PUP' was here
/usr/include/linux/in.h:32: error: conflicting types for 'IPPROTO_UDP'
/usr/include/netinet/in.h:49: error: previous definition of 'IPPROTO_UDP' was here
/usr/include/linux/in.h:33: error: conflicting types for 'IPPROTO_IDP'
/usr/include/netinet/in.h:51: error: previous definition of 'IPPROTO_IDP' was here
/usr/include/linux/in.h:34: error: conflicting types for 'IPPROTO_RSVP'
/usr/include/netinet/in.h:61: error: previous definition of 'IPPROTO_RSVP' was here
/usr/include/linux/in.h:35: error: conflicting types for 'IPPROTO_GRE'
/usr/include/netinet/in.h:63: error: previous definition of 'IPPROTO_GRE' was here
/usr/include/linux/in.h:37: error: conflicting types for 'IPPROTO_IPV6'
/usr/include/netinet/in.h:55: error: previous definition of 'IPPROTO_IPV6' was here
/usr/include/linux/in.h:39: error: conflicting types for 'IPPROTO_PIM'
/usr/include/netinet/in.h:79: error: previous definition of 'IPPROTO_PIM' was here
/usr/include/linux/in.h:41: error: conflicting types for 'IPPROTO_ESP'
/usr/include/netinet/in.h:65: error: previous definition of 'IPPROTO_ESP' was here
/usr/include/linux/in.h:42: error: conflicting types for 'IPPROTO_AH'
/usr/include/netinet/in.h:67: error: previous definition of 'IPPROTO_AH' was here
/usr/include/linux/in.h:43: error: conflicting types for 'IPPROTO_COMP'
/usr/include/netinet/in.h:81: error: previous definition of 'IPPROTO_COMP' was here
/usr/include/linux/in.h:45: error: conflicting types for 'IPPROTO_RAW'
/usr/include/netinet/in.h:85: error: previous definition of 'IPPROTO_RAW' was here
/usr/include/linux/in.h:47: error: conflicting types for 'IPPROTO_MAX'
/usr/include/netinet/in.h:88: error: previous definition of 'IPPROTO_MAX' was here
/usr/include/linux/in.h:51: error: redefinition of `struct in_addr'
/usr/include/linux/in.h:92: error: redefinition of `struct ip_mreq'
/usr/include/linux/in.h:98: error: redefinition of `struct ip_mreqn'
/usr/include/linux/in.h:105: error: redefinition of `struct in_pktinfo'
/usr/include/linux/in.h:113: error: redefinition of `struct sockaddr_in'
In file included from ncpmount.c:45:
/usr/include/linux/ncp_fs.h:30: error: field `addr' has incomplete type
In file included from ncpmount.c:47:
ncplib.h:126: error: `NCP_BINDERY_NAME_LEN' undeclared here (not in a function)
ncplib.h:274: warning: "struct nw_property" declared inside parameter list
ncplib.h:274: warning: its scope is only this definition or declaration, which is probably not what you want
ncplib.h:282: warning: "struct ncp_bindery_object" declared inside parameter list
ncpmount.c: In function `main':
ncpmount.c:150: error: storage size of 'addr' isn't known
ncpmount.c:357: error: structure has no member named `server_name'
ncpmount.c:357: error: structure has no member named `server_name'
ncpmount.c:384: error: structure has no member named `serv_addr'
ncpmount.c:384: error: dereferencing pointer to incomplete type
ncpmount.c:392: error: structure has no member named `wdog_fd'
ncpmount.c:393: error: structure has no member named `wdog_fd'
ncpmount.c:418: error: structure has no member named `wdog_fd'
ncpmount.c:423: error: structure has no member named `wdog_fd'
ncpmount.c:431: error: structure has no member named `message_fd'
ncpmount.c:432: error: structure has no member named `message_fd'
ncpmount.c:440: error: structure has no member named `message_fd'
ncpmount.c:446: error: structure has no member named `mount_point'
ncpmount.c:448: error: structure has no member named `mount_point'
ncpmount.c:473: error: storage size of 'p' isn't known
ncpmount.c:487: error: `NCP_BINDERY_USER' undeclared (first use in this function)
ncpmount.c:487: error: (Each undeclared identifier is reported only once
ncpmount.c:487: error: for each function it appears in.)
ncpmount.c:473: warning: unused variable `p'
ncpmount.c:150: warning: unused variable `addr'
make[1]: *** [ncpmount.o] Error 1
make[1]: Leaving directory `/root/ncpfs-2.0.10/sutil'
make[1]: Entering directory `/root/ncpfs-2.0.10/util'
gcc -O2 -g -Wall -I/root/ncpfs-2.0.10/include -DHAVE_KERNELD -DNCPFS_VERSION=\"2.0.10\"   -c -o slist.o slist.c
In file included from /usr/include/linux/ncp_fs.h:12,
                 from /root/ncpfs-2.0.10/include/ncplib.h:13,
                 from slist.c:10:
/usr/include/linux/in.h:114: error: syntax error before "sa_family_t"
/usr/include/linux/in.h:121: error: syntax error before '}' token
In file included from /usr/include/sys/param.h:42,
                 from /root/ncpfs-2.0.10/include/ncplib.h:15,
                 from slist.c:10:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:10: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
/usr/include/linux/types.h:21: error: previous declaration of 'gid_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:12: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:13: error: previous declaration of 'nlink_t' was here
/usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
/usr/include/linux/types.h:20: error: previous declaration of 'uid_t' was here
In file included from /usr/include/sys/types.h:216,
                 from /usr/include/sys/param.h:42,
                 from /root/ncpfs-2.0.10/include/ncplib.h:15,
                 from slist.c:10:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:9: error: previous declaration of 'fd_set' was here
In file included from slist.c:10:
/root/ncpfs-2.0.10/include/ncplib.h:129: error: `NCP_BINDERY_NAME_LEN' undeclared here (not in a function)
/root/ncpfs-2.0.10/include/ncplib.h:292: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:292: warning: its scope is only this definition or declaration, which is probably not what you want
/root/ncpfs-2.0.10/include/ncplib.h:312: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:316: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:320: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:369: warning: "struct nw_property" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:406: warning: "struct nw_property" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:427: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:439: warning: "struct ncp_bindery_object" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:458: warning: "struct ncp_filesearch_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:464: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:464: warning: "struct ncp_filesearch_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:469: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:475: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:483: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:489: warning: "struct ncp_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:594: warning: "struct nw_file_info" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:615: warning: "struct queue_job" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:620: warning: "struct queue_job" declared inside parameter list
/root/ncpfs-2.0.10/include/ncplib.h:632: warning: "struct queue_job" declared inside parameter list
slist.c:19: warning: return type of 'main' is not `int'
slist.c: In function `main':
slist.c:21: error: storage size of 'obj' isn't known
slist.c:59: error: `NCP_BINDERY_FSERVER' undeclared (first use in this function)
slist.c:59: error: (Each undeclared identifier is reported only once
slist.c:59: error: for each function it appears in.)
slist.c:62: error: storage size of 'prop' isn't known
slist.c:74: error: dereferencing pointer to incomplete type
slist.c:76: error: dereferencing pointer to incomplete type
slist.c:62: warning: unused variable `prop'
slist.c:21: warning: unused variable `obj'
make[1]: *** [slist.o] Error 1
make[1]: Leaving directory `/root/ncpfs-2.0.10/util'
make[1]: Entering directory `/root/ncpfs-2.0.10/ipx-1.0'
cc -O2 -Wall    ipx_configure.c   -o ipx_configure
In file included from ipx_configure.c:11:
/usr/include/linux/ipx.h:10: error: syntax error before "sa_family_t"
/usr/include/linux/ipx.h:12: error: syntax error before "sipx_network"
/usr/include/linux/ipx.h:14: error: syntax error before "sipx_type"
/usr/include/linux/ipx.h:16: error: syntax error before '}' token
/usr/include/linux/ipx.h:29: error: syntax error before "__u32"
/usr/include/linux/ipx.h:32: error: syntax error before '}' token
/usr/include/linux/ipx.h:36: error: syntax error before "__u32"
/usr/include/linux/ipx.h:50: error: syntax error before '}' token
/usr/include/linux/ipx.h:64: error: syntax error before "__u32"
/usr/include/linux/ipx.h:74: error: syntax error before '}' token
ipx_configure.c: In function `main':
ipx_configure.c:81: warning: implicit declaration of function `exit'
make[1]: *** [ipx_configure] Error 1
make[1]: Leaving directory `/root/ncpfs-2.0.10/ipx-1.0'
make[1]: Entering directory `/root/ncpfs-2.0.10/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/ncpfs-2.0.10/man'



Please add '/root/ncpfs-2.0.10/lib' to the environment
variable LD_LIBRARY_PATH by executing

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/root/ncpfs-2.0.10/lib"

or do a 'make install'.

[root@fedora ncpfs-2.0.10]#
I'm not a c programmer by any means but I can tell that this is not good!

Any Ideas as what my options are?
 
Old 03-04-2005, 04:23 PM   #4
eddiethefox
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
bump
 
Old 03-04-2005, 04:45 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
Originally posted by eddiethefox
Code:
<SNIP>
Please add '/root/ncpfs-2.0.10/lib' to the environment
variable LD_LIBRARY_PATH by executing

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/root/ncpfs-2.0.10/lib"

or do a 'make install'.

[root@fedora ncpfs-2.0.10]#
I'm not a c programmer by any means but I can tell that this is not good!

Any Ideas as what my options are?
Did you do this? What happened?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some IPX knowlege eddiethefox Linux - Enterprise 4 03-08-2005 10:14 PM
General Knowlege subekk0 Slackware 1 02-16-2004 10:09 AM
Do I need all this IPX stuff vrillusions Linux - Networking 1 09-19-2003 06:23 PM
Routing IPX Mik Linux - Networking 0 12-07-2001 08:10 AM
IPX + Novell + Linux Sander.nl Linux - Networking 10 11-06-2001 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration