Page 10 of 35 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 342

Thread: Ipod Nano 5G with linux?

  1. #91
    Join Date
    Jul 2006
    Location
    Trinidad and Tobago
    Beans
    160
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ipod Nano 5G with linux?

    I'm in the same situation as everyone else. I have libgpod from git, I added Okiura's two files, and I even tried commenting out the line that deletes the files from /tmp so that I can copy them over manually. But even after all of that the iPod still says there's 0 Songs.

    My Sysinfo file is set up correctly, with the correct firewire id and an x in front of the model number and the model number is correct as far as I know; the model number is being set automatically.

    I'm not sure I'm doing this correct, but sometimes Rhythmbox just cannot modify the iPod; sometimes it comes up in Nautilus as read only, I can't create or delete files, but other times it is modifiable in Nautilus and Rhytmbox still cannot edit the iPod, it can't change it's name or add songs to it.
    I have been deleting the iPod_Control folder in order to "reset" my iPod so that Rhythmbox can reinitialize it, but most times Rhythmbox crashes when it tries to initialize the iPod.
    Registered Linux User #422402

  2. #92
    Join Date
    Jan 2010
    Beans
    6

    Re: Ipod Nano 5G with linux?

    Ok, I have done some testing, and it looks like Locations.itdb.cbk isn't even being generated. I think that the following line is where everything fails:
    Code:
    success = itdb_hash72_compute_hash_for_sha1 (itdb->device, final_sha1,
                             cbk_hash72);
    which returns "0" and causes this if statement to execute:
    Code:
    if (!success) {
        g_array_free (cbk, TRUE);
        return FALSE;
        }
    UPDATE:
    Still tracing the problem but this is what's causing the above lines to fail:
    Code:
    static struct Hash78Info *read_hash_info (const Itdb_Device *device)
    {
        //code removed for clarity
        read_ok = g_file_get_contents (filename, (gchar**)&info, &len, NULL);
        //code removed for clarity
    }
    Last edited by mortfrog; January 2nd, 2010 at 10:10 PM.

  3. #93
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,634
    Distro
    Ubuntu

    Re: Ipod Nano 5G with linux?

    This is doing my head in.

    gtkpod will not even see my lad`s ipod now, even if I add it manually, no errors, nothing, it`s as though it`s not there.

    Before I started messing, at least it saw it.

    The trip to restore it on windows was 95 miles. I can`t be doing that often.

    .....I told him not to buy an iPod, but he wanted the video camera......

    Well, that was the whole of Saturday wasted.

  4. #94
    Join Date
    Dec 2008
    Beans
    40

    Re: Ipod Nano 5G with linux?

    The cbk file is the checksum file if this is not being created then the files are not going to be to the Ipod and manually copying them won't help either.

    I think we can rule out source problem as we are all using the same version and it works for some and not others, and we are all using the Nano 5G, so I think this is either a missing dependency that is not required to successfully compile but is need todo this finial step (The libiphone0 and dev files maybe), or a firmware issue.


    Can you guys post the output of ./autogen.sh, also confirm the Firmware you are using.

    Okiura,

  5. #95
    Join Date
    Jul 2006
    Location
    Trinidad and Tobago
    Beans
    160
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ipod Nano 5G with linux?

    The firmware loaded is 1.0.2 PC. Here's the output of my autogen.sh:

    Code:
    checking for autoconf >= 2.53...
      testing autoconf2.50... not found.
      testing autoconf... found 2.64
    checking for automake >= 1.7...
      testing automake-1.11... found 1.11
    checking for libtool >= 1.4.3...
      testing libtoolize... found 2.2.6
    checking for glib-gettext >= 2.2.0...
      testing glib-gettextize... found 2.22.3
    checking for intltool >= 0.25...
      testing intltoolize... found 0.41.0
    checking for pkg-config >= 0.14.0...
      testing pkg-config... found 0.22
    checking for gtk-doc >= 1.0...
      testing gtkdocize... found 1.11
    Checking for required M4 macros...
    Checking for forbidden M4 macros...
    Processing ./configure.ac
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file mkinstalldirs
    Copying file po/Makefile.in.in
    
    Please add the files
      codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
      progtest.m4
    from the /aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    
    Running intltoolize...
    Running gtkdocize...
    Running aclocal-1.11...
    Running autoconf...
    Running autoheader...
    Running automake-1.11...
    Running ./configure --enable-maintainer-mode --prefix=/usr ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for ANSI C header files... (cached) yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.21... 0.41.0 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.10.0
    checking for XML::Parser... ok
    checking for localtime_r... yes
    checking for struct tm.tm_gmtoff... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for LIBGPOD... yes
    checking for GLIB... yes
    checking for sg_ll_inquiry in -lsgutils2... no
    checking for sg_ll_inquiry in -lsgutils... no
    checking for inflate in -lz... yes
    checking for HAL... no
    checking for LIBIPHONE... no
    checking for TAGLIB... no
    checking for LIBXML... yes
    checking for GDKPIXBUF... yes
    checking for PYGOBJECT... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for catalogs to be installed...  de es fr he it ja ro sv zh_CN
    checking whether to build gtk-doc documentation... no
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking whether to build python bindings... yes
    checking for python... /usr/bin/python
    checking whether /usr/bin/python version >= 2.1.1... yes
    checking for /usr/bin/python version... 2.6
    checking for /usr/bin/python platform... linux2
    checking for /usr/bin/python script directory... ${prefix}/lib/python2.6/dist-packages
    checking for /usr/bin/python extension module directory... ${exec_prefix}/lib/python2.6/dist-packages
    checking for python development headers... found
    checking for python module mutagen >= 1.8... no
    checking for more warnings... yes
    checking whether gcc understands -Wno-strict-aliasing... yes
    checking whether gcc understands -Wno-sign-compare... yes
    checking whether gcc understands -Wdeclaration-after-statement... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating bindings/Makefile
    config.status: creating bindings/python/gpod.i
    config.status: creating bindings/python/Makefile
    config.status: creating bindings/python/examples/Makefile
    config.status: creating bindings/python/tests/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/reference/Makefile
    config.status: creating docs/reference/version.xml
    config.status: creating m4/Makefile
    config.status: creating po/Makefile.in
    config.status: creating src/Makefile
    config.status: creating tools/Makefile
    config.status: creating tests/Makefile
    config.status: creating libgpod-1.0.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing po/stamp-it commands
    
    Configuration for libgpod 0.7.3GIT :
    --------------------------------
    
     Host System Type .........: x86_64-unknown-linux-gnu
     Install path .............: /usr
     Preprocessor .............: gcc 
     Compiler .................: gcc 	-Wall 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith 	-Wcast-align -Wsign-compare 	-Werror -std=c89 	-g -O2 -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
     Linker ...................: gcc   -lgobject-2.0 -lglib-2.0 -lsqlite3   -lxml2   -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
     Artwork support ..........: yes
     Python bindings ..........: no
     PyGObject support ........: yes
     iPhone/iPod Touch support.: no
    
     Now type 'make' to build libgpod 0.7.3GIT,
     and then 'make install' for installation.
    
    Now type `make' to compile libgpod
    Registered Linux User #422402

  6. #96
    Join Date
    Dec 2008
    Beans
    40

    Re: Ipod Nano 5G with linux?

    @rmjb

    the only real differences between your config and mine is libiphone, taglib and sgutils. can you try a build with those packages installed.

    Code:
    sudo apt-get install libiphone-dev libtagc0-dev libsgutils2-dev
    Okiura,

  7. #97
    Join Date
    Jun 2005
    Beans
    49

    Re: Ipod Nano 5G with linux?

    The fix described in five (or six) different earlier posts works.
    Here is a description of what I did:

    1. Download the attachment from the post of Okuira:
    http://ubuntuforums.org/attachment.p...7&d=1261970748

    1a. Unpack the zipfile:
    tar -xzf NanoG5Fix.tar.gz

    2. install required packages:
    sudo apt-get install build-essential libsqlite3-dev libsqlite3-0 autoconf flex gettext libglib2.0-dev libgtk2.0-dev libglade2-dev libid3tag0-dev libxml-parser-perl pkg-config automake gcc git-core gtk-doc-tools

    3. install recommended packages:
    sudo apt-get install libcurl4-dev libflac-dev libgnomevfs2-dev libhal-dev libvorbis-dev libmp4v2-dev

    4. checkout libgpod and gtkpod:
    git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod
    git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/gtkpod

    5. copy the files from the tar archive:
    cp itdb_sqlite* libgpod/src/.

    6. compile and install libgpod:
    cd libgpod/
    ./autogen.sh
    make
    sudo make install

    7. remove the old gtkpod if it's installed:
    sudo apt-get remove gtkpod

    8. compile and install gtkpod:
    cd ../gtkpod/
    ./autogen.sh
    make
    sudo make install

    9. modify the files installed by the package libgpod4 so that the newly installed libgpod is used:
    cd /usr/lib
    sudo rm libgpod.so.4.1.0
    sudo ln -s /usr/local/lib/libgpod.so

    10. fix the Sysinfo file (I'm not sure if this is necessary):
    Do "sudo lsusb -v | grep -i Serial"
    This should print a 16 character long string like 00A1234567891231.
    Edit /media/IPOD/iPod_Control/Device/SysInfo, creating the file if it does not exist.
    Add a line like this to the SysInfo file:

    FirewireGuid: 0xffffffffffffffff

    Replace ffffffffffffffff with the serial number you obtained in the previous step. Don't forget the 0x before the string.


    11. Now plug your ipod into a windows machine so that it touches your ipod (not sure this is necessary).


    12. Plug the ipod into your ubuntu installation and open gtkpod. Choose the appropriate entry when it requests it of you.

    Now you can use gtkpod and Rhythmbox to edit the contents of the ipod.
    Among other issues, the artists don't show up in alphabetical order.

    This will also be broken when there is an update to libgpod4.

  8. #98
    Join Date
    Apr 2009
    Beans
    29

    Re: Ipod Nano 5G with linux?

    Quote Originally Posted by Okiura View Post
    @rmjb

    the only real differences between your config and mine is libiphone, taglib and sgutils. can you try a build with those packages installed.

    Code:
    sudo apt-get install libiphone-dev libtagc0-dev libsgutils2-dev
    Okiura,
    Installing that packages and following instruction of kswenson it give me Error 2 when I try to compile libgpod:
    Code:
    make  all-recursive
    make[1]: ingresso nella directory «/home/reloaded/libgpod»
    Making all in src
    make[2]: ingresso nella directory «/home/reloaded/libgpod/src»
      CC     libgpod_la-itdb_iphone.lo
    itdb_iphone.c:27:32: error: libiphone/lockdown.h: Nessun file o directory
    itdb_iphone.c:28:27: error: libiphone/afc.h: Nessun file o directory
    itdb_iphone.c:29:42: error: libiphone/notification_proxy.h: Nessun file o directory
    itdb_iphone.c:33: error: expected specifier-qualifier-list before ‘afc_client_t’
    itdb_iphone.c:45: error: expected declaration specifiers or ‘...’ before ‘lockdownd_client_t’
    itdb_iphone.c: In function ‘itdb_iphone_post_notification’:
    itdb_iphone.c:48: error: ‘np_client_t’ undeclared (first use in this function)
    itdb_iphone.c:48: error: (Each undeclared identifier is reported only once
    itdb_iphone.c:48: error: for each function it appears in.)
    itdb_iphone.c:48: error: expected ‘;’ before ‘np’
    cc1: warnings being treated as errors
    itdb_iphone.c:49: error: ISO C90 forbids mixed declarations and code
    itdb_iphone.c:51: error: implicit declaration of function ‘lockdownd_start_service’
    itdb_iphone.c:51: error: nested extern declaration of ‘lockdownd_start_service’
    itdb_iphone.c:51: error: ‘client’ undeclared (first use in this function)
    itdb_iphone.c:57: error: implicit declaration of function ‘np_client_new’
    itdb_iphone.c:57: error: nested extern declaration of ‘np_client_new’
    itdb_iphone.c:57: error: ‘np’ undeclared (first use in this function)
    itdb_iphone.c:63: error: implicit declaration of function ‘np_post_notification’
    itdb_iphone.c:63: error: nested extern declaration of ‘np_post_notification’
    itdb_iphone.c:65: error: implicit declaration of function ‘np_client_free’
    itdb_iphone.c:65: error: nested extern declaration of ‘np_client_free’
    itdb_iphone.c: In function ‘itdb_iphone_start_sync’:
    itdb_iphone.c:79: error: ‘lockdownd_client_t’ undeclared (first use in this function)
    itdb_iphone.c:79: error: expected ‘;’ before ‘client’
    itdb_iphone.c:80: error: ISO C90 forbids mixed declarations and code
    itdb_iphone.c:98: error: implicit declaration of function ‘iphone_get_device_by_uuid’
    itdb_iphone.c:98: error: nested extern declaration of ‘iphone_get_device_by_uuid’
    itdb_iphone.c:105: error: ‘LOCKDOWN_E_SUCCESS’ undeclared (first use in this function)
    itdb_iphone.c:105: error: implicit declaration of function ‘lockdownd_client_new’
    itdb_iphone.c:105: error: nested extern declaration of ‘lockdownd_client_new’
    itdb_iphone.c:105: error: ‘client’ undeclared (first use in this function)
    itdb_iphone.c:117: error: implicit declaration of function ‘afc_client_new’
    itdb_iphone.c:117: error: nested extern declaration of ‘afc_client_new’
    itdb_iphone.c:117: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:118: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:124: error: too many arguments to function ‘itdb_iphone_post_notification’
    itdb_iphone.c:133: error: implicit declaration of function ‘afc_file_open’
    itdb_iphone.c:133: error: nested extern declaration of ‘afc_file_open’
    itdb_iphone.c:133: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:133: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:135: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:141: error: too many arguments to function ‘itdb_iphone_post_notification’
    itdb_iphone.c:150: error: implicit declaration of function ‘afc_file_lock’
    itdb_iphone.c:150: error: nested extern declaration of ‘afc_file_lock’
    itdb_iphone.c:150: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:150: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:150: error: ‘AFC_LOCK_EX’ undeclared (first use in this function)
    itdb_iphone.c:151: error: ‘AFC_E_SUCCESS’ undeclared (first use in this function)
    itdb_iphone.c:153: error: ‘AFC_E_OP_WOULD_BLOCK’ undeclared (first use in this function)
    itdb_iphone.c:168: error: too many arguments to function ‘itdb_iphone_post_notification’
    itdb_iphone.c:175: error: implicit declaration of function ‘lockdownd_client_free’
    itdb_iphone.c:175: error: nested extern declaration of ‘lockdownd_client_free’
    itdb_iphone.c:184: error: too many arguments to function ‘itdb_iphone_post_notification’
    itdb_iphone.c:189: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:190: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:191: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:191: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:191: error: ‘AFC_LOCK_UN’ undeclared (first use in this function)
    itdb_iphone.c:192: error: implicit declaration of function ‘afc_file_close’
    itdb_iphone.c:192: error: nested extern declaration of ‘afc_file_close’
    itdb_iphone.c:192: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:192: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:193: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:195: error: implicit declaration of function ‘afc_client_free’
    itdb_iphone.c:195: error: nested extern declaration of ‘afc_client_free’
    itdb_iphone.c:195: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:196: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:199: error: implicit declaration of function ‘iphone_device_free’
    itdb_iphone.c:199: error: nested extern declaration of ‘iphone_device_free’
    itdb_iphone.c: In function ‘itdb_iphone_stop_sync’:
    itdb_iphone.c:218: error: ‘lockdownd_client_t’ undeclared (first use in this function)
    itdb_iphone.c:218: error: expected ‘;’ before ‘client’
    itdb_iphone.c:219: error: ISO C90 forbids mixed declarations and code
    itdb_iphone.c:228: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:232: error: implicit declaration of function ‘afc_remove_path’
    itdb_iphone.c:232: error: nested extern declaration of ‘afc_remove_path’
    itdb_iphone.c:232: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:236: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:239: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:240: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:240: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:240: error: ‘AFC_LOCK_UN’ undeclared (first use in this function)
    itdb_iphone.c:241: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:241: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:242: error: ‘struct itdbprep_int’ has no member named ‘lockfile’
    itdb_iphone.c:246: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:247: error: ‘struct itdbprep_int’ has no member named ‘afc’
    itdb_iphone.c:250: error: ‘LOCKDOWN_E_SUCCESS’ undeclared (first use in this function)
    itdb_iphone.c:250: error: ‘client’ undeclared (first use in this function)
    itdb_iphone.c:255: error: too many arguments to function ‘itdb_iphone_post_notification’
    make[2]: *** [libgpod_la-itdb_iphone.lo] Errore 1
    make[2]: uscita dalla directory «/home/reloaded/libgpod/src»
    make[1]: *** [all-recursive] Errore 1
    make[1]: uscita dalla directory «/home/reloaded/libgpod»
    make: *** [all] Errore 2
    EDIT: Removing that packages I can compile libgpod, but when I start gtkpod and save the playlist it give me this error:
    Code:
    Backup Database could not be found so backing up database to /home/reloaded/.gtkpod/backupDB_xC031
    I have Ipod nano 5G 8GB Black (xC031).

    This is my Sysinfo:
    Code:
    ModelNumStr: xC031
    FirewireGuid: 0x000A27001EB77DEA
    This is my output for "sudo lsusb -v | grep -i Serial"

    Code:
      iSerial                 3 TH267230C61J
      iSerial                 1 0000:00:1d.3
      iSerial                 3 000A27001EB77DEA
      iSerial                 3 058F312D81B
      iSerial                 1 0000:00:1d.7
      iSerial                 0 
      iSerial                 0 
      iSerial                 1 0000:00:1d.2
      iSerial                 1 0000:00:1d.1
      iSerial                 1 0000:00:1d.0
    Last edited by reloweb; January 3rd, 2010 at 12:19 PM.

  9. #99
    Join Date
    Jan 2010
    Beans
    4

    Re: Ipod Nano 5G with linux?

    Hi,

    Does anyone know 100% if libiphone-dev is needed or not?

    Have been trying this morning with the git as is, and with patch applied. Ipod reads ok, but no writes to itlb databases.

    Checksum in Sysinfo is in place and correct.

    My system is not Ubuntu, but this thread is most active and should not be any different to f11 in this aspect.

    when I try and compile with libiphone-dev 0.9.3 libgpod will not compile module (think it was) ipod-lockdown.c

    If I can decide if libiphone is 100% needed I will persue its compilation.

    James

    Code:
    [root@jblaptop libgpod]# ./autogen.sh --target=x86_64 --prefix=/usr --libdir=/usr/lib64
    checking for autoconf >= 2.53...
      testing autoconf2.50... not found.
      testing autoconf... found 2.63
    checking for automake >= 1.7...
      testing automake-1.11... found 1.11
    checking for libtool >= 1.4.3...
      testing libtoolize... found 1.5.26
    checking for glib-gettext >= 2.2.0...
      testing glib-gettextize... found 2.18.4
    checking for intltool >= 0.25...
      testing intltoolize... found 0.40.5
    checking for pkg-config >= 0.14.0...
      testing pkg-config... found 0.23
    checking for gtk-doc >= 1.0...
      testing gtkdocize... found 1.10
    Checking for required M4 macros...
    Checking for forbidden M4 macros...
    Processing ./configure.ac
    Running libtoolize...
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file mkinstalldirs
    Copying file po/Makefile.in.in
    
    Please add the files
      codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
      progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    
    Running intltoolize...
    Running gtkdocize...
    Running aclocal-1.11...
    Running autoconf...
    Running autoheader...
    Running automake-1.11...
    Running ./configure --enable-maintainer-mode --enable-gtk-doc --target=x86_64 --prefix=/usr --libdir=/usr/lib64 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for ANSI C header files... (cached) yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for xlf95... no
    checking for f95... no
    checking for fort... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 1966080
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.21... 0.40.5 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for XML::Parser... ok
    checking for localtime_r... yes
    checking for struct tm.tm_gmtoff... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for LIBGPOD... yes
    checking for GLIB... yes
    checking for sg_ll_inquiry in -lsgutils2... yes
    checking for inflate in -lz... yes
    checking for HAL... yes
    checking for LIBIPHONE... no
    checking for TAGLIB... yes
    checking for LIBXML... yes
    checking for GDKPIXBUF... yes
    checking for PYGOBJECT... no
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for catalogs to be installed...  de es fr he it ja ro sv zh_CN
    checking whether to build gtk-doc documentation... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking whether to build python bindings... yes
    checking for python... /usr/bin/python
    checking whether /usr/bin/python version >= 2.1.1... yes
    checking for /usr/bin/python version... 2.5
    checking for /usr/bin/python platform... linux2
    checking for /usr/bin/python script directory... ${prefix}/lib/python2.5/site-packages
    checking for /usr/bin/python extension module directory... ${exec_prefix}/lib64/python2.5/site-packages
    checking for python development headers... found
    checking for python module mutagen >= 1.8... no
    checking for more warnings... yes
    checking whether gcc understands -Wno-strict-aliasing... yes
    checking whether gcc understands -Wno-sign-compare... yes
    checking whether gcc understands -Wdeclaration-after-statement... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating bindings/Makefile
    config.status: creating bindings/python/gpod.i
    config.status: creating bindings/python/Makefile
    config.status: creating bindings/python/examples/Makefile
    config.status: creating bindings/python/tests/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/reference/Makefile
    config.status: creating docs/reference/version.xml
    config.status: creating m4/Makefile
    config.status: creating po/Makefile.in
    config.status: creating src/Makefile
    config.status: creating tools/Makefile
    config.status: creating tests/Makefile
    config.status: creating libgpod-1.0.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing default-1 commands
    config.status: executing po/stamp-it commands
    # INTLTOOL_MAKEFILE
    
    Configuration for libgpod 0.7.3GIT_PATCHED :
    --------------------------------
    
     Host System Type .........: x86_64-unknown-linux-gnu
     Install path .............: /usr
     Preprocessor .............: gcc 
     Compiler .................: gcc     -Wall     -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes     -Wnested-externs -Wpointer-arith     -Wcast-align -Wsign-compare     -Werror -std=c89     -g -O2 -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2   -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  
     Linker ...................: gcc   -lgobject-2.0 -lglib-2.0 -lsqlite3   -lxml2   -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
     Artwork support ..........: yes
     Python bindings ..........: no
     PyGObject support ........: no
     iPhone/iPod Touch support.: no
    
     Now type 'make' to build libgpod 0.7.3GIT_PATCHED,
     and then 'make install' for installation.
    
    Now type `make' to compile libgpod

  10. #100
    Join Date
    Jan 2010
    Beans
    4

    Re: Ipod Nano 5G with linux?

    Ok.

    Teuf (one of gtkpod developers) says the nano5g is not in the main git branch yet.... yes it appears, but it does not work for writing.

    libiphone Teuf says will not be needed for the normail git (can't comment on the patch)
    So Firewire id should be obtained from lsusb and manually entered into SysInfo.

    I have been given a sandbox version to try and will let you know if anything comes of it.... currently can still not get to write to the itdb files.

    James

Page 10 of 35 FirstFirst ... 8910111220 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •