Menu

#3 Cannot compile (as requested in other thread)

v1.0_(example)
open
nobody
None
5
2004-07-05
2004-07-05
No

When I compile the thing, I cannot seem to get past
this error:

[code]
+ libtool_args=gcc -O2 -Wall -ggdb -I.. -Wall -Werror
-pthread -rdynamic -D_REENTRANT -D_PTHREADS
-D_USE_LARGEFILE64 -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
-pthread -DLINUX -Ino/include -Ino/include -Lno/lib
+ test -n ''
+ prevarg=-Lno/lib
++ echo X-Lno/lib
++ sed -e '1s/^X//' -e 's/^-L//'
+ dir=no/lib
++ cd no/lib
../libtool: line 1: cd: no/lib: No such file or directory
+ absdir=
+ test -z ''
+ echo 'libtool: link: cannot determine absolute
directory name of `no/lib'\'''
libtool: link: cannot determine absolute directory name
of `no/lib'
+ exit 1
make[1]: *** [kma] Error 1
make[1]: Leaving directory
`/mnt/store/naish/kma-0.4-test1/src'
make: *** [all-recursive] Error 1
[/code]

I put a 'set -x' in the libtool script, but cannot find
the cause of the error...

Discussion

  • Rob ter Veer

    Rob ter Veer - 2004-07-05

    make and configure output

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    OK, thnx, looks like I can solve it .. hope to find some
    time coming weekend ;)

     
  • Jarl van Katwijk

    Logged In: YES
    user_id=184138

    When you do 'set | grep LDFLAGS' , what do you get? Because
    here the statements '-Ino/include -Lno/lib' are ruiining
    your compilation.

    Oh, and it seems you not using CVS code, please get latest
    and I'll go on looking for the problem.

    cvs, these 2 commands in a console:
    cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/kma login

    cvs -z3

    -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/kma co kma-0.4

     
  • Rob ter Veer

    Rob ter Veer - 2004-07-19

    Logged In: YES
    user_id=772783

    Allright... Downloaded the CVS and tried to compile. Before
    compiling, I copied the configure script and the Makefile.in
    files from the test-tar to the CVS directories. Without this
    copies I could not start the compile... Now there's
    something else wrong with compilation:

    [quote]
    make[1]: Entering directory
    `/mnt/store/naish/kma-0.4-test1/kma-0.4/src'
    if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
    -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
    -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"KMA\"
    -DVERSION=\"0.4.0CVS\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
    -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
    -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
    -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
    -DBITFIELD_LSBF= -I. -I. -O2 -Wall -ggdb -I.. -Wall
    -Werror -pthread -rdynamic -D_REENTRANT -D_PTHREADS
    -D_USE_LARGEFILE64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -g -O2 -pthread -DLINUX -MT
    modules.o -MD -MP -MF ".deps/modules.Tpo" \
    -c -o modules.o `test -f 'modules.c' || echo './'`modules.c; \
    then mv ".deps/modules.Tpo" ".deps/modules.Po"; \
    else rm -f ".deps/modules.Tpo"; exit 1; \
    fi
    modules.c: In function `load_modules':
    modules.c:484: error: `PREFIX' undeclared (first use in this
    function)
    modules.c:484: error: (Each undeclared identifier is
    reported only once
    modules.c:484: error: for each function it appears in.)
    make[1]: *** [modules.o] Error 1
    make[1]: Leaving directory
    `/mnt/store/naish/kma-0.4-test1/kma-0.4/src'
    make: *** [all-recursive] Error 1
    [/quote]

    Has this something to do with the copied configure or
    makefile.in files? If I cannot copy these files, how can I
    compile the downloaded CVS files?

     

Log in to post a comment.

MongoDB Logo MongoDB