Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

configure: error: --with-ldopts no longer supported; use LDFLAGS= instead

I'm trying to update from e2fsprogs 1.40.9 in my build to the 1.41.10 from the current.

So, I put the dir under the uClinux-dist/user/e2fsprogs dir and changed the ver= in the Makefile

BUT

It doesn't like the "--with-ldopts" in the Makefile

******* last part of "make" messages

-L/home/janet/nios2-linux/uClinux-dist/staging/usr/lib

make[4]: Entering directory `/home/janet/nios2-linux/uClinux-dist/user/ftp/ftp'

make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/ftp/ftp'

make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/ftp'

[ ! -d "telnetd" ] || ( touch telnetd/.sgbuilt_user && make -C telnetd ) || exit $?

make[3]: Entering directory `/home/janet/nios2-linux/uClinux-dist/user/telnetd'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/telnetd'

make[3]: Entering directory `/home/janet/nios2-linux/uClinux-dist/user/sash'

make -j1 -C libsash

GEN /home/janet/nios2-linux/uClinux-dist/user/busybox/build-busybox/Makefile

make[4]: Entering directory `/home/janet/nios2-linux/uClinux-dist/user/sash/libsash'

make[4]: warning: -jN forced in submake: disabling jobserver mode.

Using /home/janet/nios2-linux/uClinux-dist/user/busybox/busybox as source for busybox

make[4]: Nothing to be done for `all'.

make[4]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/sash/libsash'

make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/sash'

configure: WARNING: unrecognized options: --disable-shared, --without-shared, --disable-dependency-tracking, --enable-fast-install

Generating configuration file for e2fsprogs version 1.41.10

Release date is February, 2009

checking build system type... i686-pc-linux-uclibc

checking host system type... nios2-unknown-linux-uclibc

checking for nios2-linux-uclibc-gcc... nios2-linux-uclibc-gcc

checking for C compiler default output file name... make[4]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/busybox/build-busybox'

make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/busybox'

a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... yes

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether nios2-linux-uclibc-gcc accepts -g... yes

checking for nios2-linux-uclibc-gcc option to accept ISO C89... none needed

checking for dlopen in -ldl... no

configure: error: --with-ldopts no longer supported; use LDFLAGS= instead

make[3]: *** [build-e2fsprogs-1.41.10/Makefile] Error 1

make[3]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user/e2fsprogs'

make[2]: *** [e2fsprogs] Error 2

make[2]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/janet/nios2-linux/uClinux-dist/user'

make: *** [subdirs] Error 1

[janet@localhost uClinux-dist]$

********************

Obviously I'm not a "make" expert because I've tried things but feel lost.

Could someone please help ? I've attached the "config.log" (config.pdf) too (Greek to me)

Thanks !

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Please try the command

    
    ./configure --help
    
    in your 'e2fsprogs 1.40.9' directory. You can get useful messages.

    And set the environment variable for the linker's flag like

    
    export LDFLAGS=****
    
    from your shell if necessary.

    Kazu