Compliling and Building obexftp.c

Help
Pavel R
2008-09-21
2013-05-01
  • Pavel R
    Pavel R
    2008-09-21

    Hello!

    I've tried to build and run the obexftp.c file, but got some errors:

    gcc -lobexftp -lopenobex -lbluetooth  -lmulticobex -lbfb -g   -c -o myftpserver.o myftpserver.c
    myftpserver.c:48:20: error: common.h: No such file or directory
    myftpserver.c:65: warning: parameter names (without types) in function declaration
    myftpserver.c: In function ‘cli_connect_uuid’:
    myftpserver.c:260: warning: passing argument 3 of ‘obexftp_open’ from incompatible pointer type
    myftpserver.c: In function ‘main’:
    myftpserver.c:758: error: ‘VERSION’ undeclared (first use in this function)
    myftpserver.c:758: error: (Each undeclared identifier is reported only once
    myftpserver.c:758: error: for each function it appears in.)

    I think i have all the libraries installed... Can this file be compiled and run by itself?
    Thanks!