• November 29, 2021, 01:24:51 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 [2] 3

Author Topic: DIR-685 Firmware development ressurection  (Read 74158 times)

Paul2

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-685 Firmware development ressurection
« Reply #15 on: April 13, 2013, 01:54:16 AM »

Hi, I'm trying to compile this firmware with fedora 18 but i get always this error:
Code: [Select]
make[6]: Entering directory `/home/paul/builds/dir685/progs.gpl/fuse/fuse-2.9.2/lib'
  CC     fuse.lo
  CC     fuse_kern_chan.lo
  CC     fuse_loop.lo
  CC     fuse_loop_mt.lo
  CC     fuse_lowlevel.lo
  CC     fuse_mt.lo
  CC     fuse_opt.lo
  CC     fuse_session.lo
  CC     fuse_signals.lo
  CC     buffer.lo
  CC     cuse_lowlevel.lo
  CC     helper.lo
  CC     subdir.lo
  CC     iconv.lo
modules/iconv.c:17:19: iconv.h: No such file or directory
modules/iconv.c:27: error: syntax error before "iconv_t"
modules/iconv.c: In function `iconv_convpath':
modules/iconv.c:66: error: dereferencing pointer to incomplete type
modules/iconv.c:68: error: dereferencing pointer to incomplete type
modules/iconv.c:68: error: dereferencing pointer to incomplete type
modules/iconv.c:90: error: dereferencing pointer to incomplete type
modules/iconv.c:96: error: dereferencing pointer to incomplete type
modules/iconv.c:96: error: dereferencing pointer to incomplete type
modules/iconv.c:97: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_getattr':
modules/iconv.c:108: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_fgetattr':
modules/iconv.c:121: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_access':
modules/iconv.c:133: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_readlink':
modules/iconv.c:145: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_opendir':
modules/iconv.c:166: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_readdir':
modules/iconv.c:196: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_releasedir':
modules/iconv.c:209: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_mknod':
modules/iconv.c:221: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_mkdir':
modules/iconv.c:233: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_unlink':
modules/iconv.c:245: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_rmdir':
modules/iconv.c:257: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_symlink':
modules/iconv.c:272: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_rename':
modules/iconv.c:289: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_link':
modules/iconv.c:306: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_chmod':
modules/iconv.c:320: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_chown':
modules/iconv.c:332: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_truncate':
modules/iconv.c:344: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_ftruncate':
modules/iconv.c:357: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_utimens':
modules/iconv.c:369: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_create':
modules/iconv.c:382: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_open_file':
modules/iconv.c:394: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_read_buf':
modules/iconv.c:407: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_write_buf':
modules/iconv.c:420: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_statfs':
modules/iconv.c:432: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_flush':
modules/iconv.c:444: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_release':
modules/iconv.c:456: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_fsync':
modules/iconv.c:469: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_fsyncdir':
modules/iconv.c:482: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_setxattr':
modules/iconv.c:495: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_getxattr':
modules/iconv.c:509: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_listxattr':
modules/iconv.c:521: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_removexattr':
modules/iconv.c:533: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_lock':
modules/iconv.c:546: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_flock':
modules/iconv.c:558: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_bmap':
modules/iconv.c:570: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_init':
modules/iconv.c:579: error: dereferencing pointer to incomplete type
modules/iconv.c: In function `iconv_destroy':
modules/iconv.c:586: error: dereferencing pointer to incomplete type
modules/iconv.c:587: error: dereferencing pointer to incomplete type
modules/iconv.c:588: error: dereferencing pointer to incomplete type
modules/iconv.c:589: error: dereferencing pointer to incomplete type
modules/iconv.c:590: error: dereferencing pointer to incomplete type
modules/iconv.c:591: error: dereferencing pointer to incomplete type
modules/iconv.c: At top level:
modules/iconv.c:641: error: dereferencing pointer to incomplete type
modules/iconv.c:641: error: initializer element is not constant
modules/iconv.c:641: error: (near initialization for `iconv_opts[2].offset')
modules/iconv.c:641: error: initializer element is not constant
modules/iconv.c:641: error: (near initialization for `iconv_opts[2]')
modules/iconv.c:642: error: dereferencing pointer to incomplete type
modules/iconv.c:642: error: initializer element is not constant
modules/iconv.c:642: error: (near initialization for `iconv_opts[3].offset')
modules/iconv.c:642: error: initializer element is not constant
modules/iconv.c:642: error: (near initialization for `iconv_opts[3]')
modules/iconv.c:643: error: initializer element is not constant
modules/iconv.c:643: error: (near initialization for `iconv_opts[4]')
modules/iconv.c: In function `iconv_new':
modules/iconv.c:681: error: invalid application of `sizeof' to incomplete type `iconv'
modules/iconv.c:695: error: dereferencing pointer to incomplete type
modules/iconv.c:695: error: dereferencing pointer to incomplete type
modules/iconv.c:696: error: dereferencing pointer to incomplete type
modules/iconv.c:696: error: dereferencing pointer to incomplete type
modules/iconv.c:700: error: dereferencing pointer to incomplete type
modules/iconv.c:701: error: dereferencing pointer to incomplete type
modules/iconv.c:701: error: `iconv_t' undeclared (first use in this function)
modules/iconv.c:701: error: (Each undeclared identifier is reported only once
modules/iconv.c:701: error: for each function it appears in.)
modules/iconv.c:706: error: dereferencing pointer to incomplete type
modules/iconv.c:707: error: dereferencing pointer to incomplete type
modules/iconv.c:717: error: dereferencing pointer to incomplete type
modules/iconv.c:725: error: dereferencing pointer to incomplete type
modules/iconv.c:727: error: dereferencing pointer to incomplete type
modules/iconv.c:729: error: dereferencing pointer to incomplete type
modules/iconv.c:730: error: dereferencing pointer to incomplete type
make[6]: *** [iconv.lo] Error 1
make[6]: Leaving directory `/home/paul/builds/dir685/progs.gpl/fuse/fuse-2.9.2/lib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/paul/builds/dir685/progs.gpl/fuse/fuse-2.9.2'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/paul/builds/dir685/progs.gpl/fuse'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/paul/builds/dir685/progs.gpl'
make[2]: *** [progs] Error 2
make[2]: Leaving directory `/home/paul/builds/dir685'
make[1]: *** [all_without_kernel] Error 2
make[1]: Leaving directory `/home/paul/builds/dir685'
make: *** [all] Error 2
[paul@localhost dir685]$


Many thanks ;)
Logged

ambercap

  • Level 2 Member
  • **
  • Posts: 67
Re: DIR-685 Firmware development ressurection
« Reply #16 on: April 13, 2013, 02:10:25 AM »

It looks like you don't have the package iconv-devel installed. Are you using a 32-bit build of Fedora 18? If 64-bit then I can't see it working easily. Doesn't iconv-devel ship with glibc? Maybe you're picking up the wrong version on Fedora 18? Which version of Fedora does the GPL code ask for? Isn't it Fedora 10?
« Last Edit: April 13, 2013, 02:18:45 AM by ambercap »
Logged

Paul2

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-685 Firmware development ressurection
« Reply #17 on: April 13, 2013, 02:34:50 AM »

Thanks for your help!
I'm using standard 32bit version downloaded from fedora site.

Doesn't iconv-devel ship with glibc?

does not seem to

It looks like you don't have the package iconv-devel installed.

The only package available is "Development files for psiconv" and is installed :(

I will try with virtualbox which distro do you recommend?

Thanks again
Logged

Paul2

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-685 Firmware development ressurection
« Reply #18 on: April 13, 2013, 02:46:44 AM »

Seems a fedora 18 bug
https://github.com/wayneeseguin/rvm/issues/1597
Logged

ambercap

  • Level 2 Member
  • **
  • Posts: 67
Re: DIR-685 Firmware development ressurection
« Reply #19 on: April 13, 2013, 03:01:30 AM »

I have not looked at the source for the 685, only the 645. For the 645 they explicitly state to use Fedora 10 in the readme. I would recommend using the Fedora version that is specified (assuming it is specified for the 685?). Since Fedora 10 is EOL I had to search for a torrent of it.
Logged

ambercap

  • Level 2 Member
  • **
  • Posts: 67
Re: DIR-685 Firmware development ressurection
« Reply #20 on: April 13, 2013, 04:12:18 AM »

I downloaded the DIR-685 GPL and see the readme does not mention which OS to build on. However I do see it mentions downgrading make to v3.80 if you get syntax errors, which implies Fedora 4 perhaps? Furthermore, the readme for the linux kernel mentions using gcc 2.95.3 which also would indicate an ancient distro of Fedora. So I'd try find a really old distro - certainly not 18 - unless you're prepared to try fix the source code to work with a newer version of make, gcc, and all the other libraries. I don't have access to my computer running Fedora 10 at this moment (my daughter is hogging it) but I could try the build when I have a chance and see if it works.
Logged

Paul2

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-685 Firmware development ressurection
« Reply #21 on: April 13, 2013, 04:26:24 AM »

Thanks!

So I'd try find a really old distro - certainly not 18

You can find them here:
http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/releases/
Logged

TokTias

  • Level 1 Member
  • *
  • Posts: 5
Re: DIR-685 Firmware development ressurection
« Reply #22 on: June 20, 2013, 06:52:00 PM »

Wow ! This looks promising !
I am trying to compile with Fedora 10 (in VBox) but get stuck on this one :

Code: [Select]
make[6]: Entering directory `/home/me/builds/dir685/progs.gpl/fuse/fuse-2.9.2/lib'
  CCLD   libfuse.la
/opt/storlink_arm_920t_le_uclibc.20080713/usr/bin/arm-linux-uclibc-ld: cannot find -liconv
collect2: ld returned 1 exit status
make[6]: *** [libfuse.la] Error 1

I understand the iconv is included in gcc, so does anyone know what's going on here ?

Cheers !
Logged

otanger

  • Level 1 Member
  • *
  • Posts: 1
Re: DIR-685 Firmware development ressurection
« Reply #23 on: August 23, 2013, 11:25:33 PM »

I just wanted a date now with the new framephoto someone has already done?
Logged

kinkist

  • Level 1 Member
  • *
  • Posts: 3
Re: DIR-685 Firmware development ressurection
« Reply #24 on: September 09, 2013, 09:57:13 PM »

GPL source code has bug.

I using DIR-685 USA N/A A1 version.
this model using RTL8366SR.

after building custom firmware from GLP source, wan device did not working and system was hanged during booting.

because GPL souce has compiled RTL8366 driver but not has RTL8366SR driver.
- "boards/wrgns01/apps/rtl8366/rtl8366rb/switch.ko"

this driver will loaded at booting - "insmod /lib/modules/switch.ko"
but failed load this driver. (hang!)

I find switch.ko module on directory "/lib/modules" - that using dir685_fw_101NA.bin firmware file.
I could not found switch.ko module, this means RTL8366SR driver was built in kernel.

I extracted kernel.img from dir685_fw_101NA.bin and build custom firmware base GLB source and extracted kernel.img.


after this, I success "building custom firmware".
« Last Edit: September 11, 2013, 11:44:20 PM by kinkist »
Logged

albert.zweistein

  • Level 1 Member
  • *
  • Posts: 3
Re: DIR-685 Firmware development ressurection
« Reply #25 on: October 10, 2013, 06:14:13 AM »

Kinkist, is your firmware mature enough to be tested in the device?

I have the international version of DIR-685.
Logged

kinkist

  • Level 1 Member
  • *
  • Posts: 3
Re: DIR-685 Firmware development ressurection
« Reply #26 on: October 13, 2013, 07:34:56 PM »

yes, my firmware is mature and it is tested on my device during 1 month.
but my device is N/A version of DIR-685.
my firmware is customized to N/A version.

this is my working log : https://mega.co.nz/#!Bko1Raya!SZtOKD82eU4XZ-piVczOCXbLNFUuS1cxaX8RBhF7pJE

Kinkist, is your firmware mature enough to be tested in the device?

I have the international version of DIR-685.
« Last Edit: October 13, 2013, 07:58:46 PM by kinkist »
Logged

FREEEEMAN

  • Level 1 Member
  • *
  • Posts: 1
Re: DIR-685 Firmware development ressurection
« Reply #27 on: December 10, 2013, 08:23:14 PM »

Any updates/news on the new firmwares ?

What works better or bug fixed or ?

Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49863
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-685 Firmware development ressurection
« Reply #28 on: December 13, 2013, 07:26:27 AM »

Link>Welcome!

  • What Hardware version is your router? Look at sticker under router.
  • Link>What Firmware version is currently loaded? Found on the routers web page under status.
  • What region are you located?

Any updates/news on the new firmwares ?

What works better or bug fixed or ?


Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

Pajn

  • Level 1 Member
  • *
  • Posts: 4
Re: DIR-685 Firmware development ressurection
« Reply #29 on: January 16, 2014, 11:33:04 AM »

Great initiative!
However this project seems pretty dead, is it so?
There are no build available to download.
Logged
Pages: 1 [2] 3