libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool 1.4.2 'invalid use of void expression'


From: Rene
Subject: libtool 1.4.2 'invalid use of void expression'
Date: Mon, 08 Jul 2002 11:44:30 +0200

Hi,

I'm trying to compile libtool 1.4.2 using gcc 2.95.3 and glibc 2.2.5,
but I'm getting the following error message. What to do?

( I've tried both with and withoud compiler flags)

Thanks, 
Rene

Making all in .
make[1]: Entering directory `/usr/src/libtool-1.4.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/src/libtool-1.4.2'
Making all in libltdl
make[1]: Entering directory `/usr/src/libtool-1.4.2/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3
-march=pentiumpro -c ltdl.c
rm -f .libs/ltdl.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -O3 -march=pentiumpro -c ltdl.c    -fPIC
-DPIC -o .libs/ltdl.lo
ltdl.c: In function `rpl_memmove':
ltdl.c:343: warning: dereferencing `void *' pointer
ltdl.c:343: warning: dereferencing `void *' pointer
ltdl.c:343: invalid use of void expression
ltdl.c:348: warning: dereferencing `void *' pointer
ltdl.c:348: warning: dereferencing `void *' pointer
ltdl.c:348: invalid use of void expression
ltdl.c: At top level:
ltdl.c:408: parse error before `rpl_argz_append'
ltdl.c:409: warning: data definition has no type or storage class
ltdl.c:412: parse error before `rpl_argz_append'
ltdl.c: In function `rpl_argz_append':
ltdl.c:433: `ENOMEM' undeclared (first use in this function)
ltdl.c:433: (Each undeclared identifier is reported only once
ltdl.c:433: for each function it appears in.)
ltdl.c: At top level:
ltdl.c:450: parse error before `rpl_argz_create_sep'
ltdl.c:451: warning: data definition has no type or storage class
ltdl.c:454: parse error before `rpl_argz_create_sep'
ltdl.c: In function `rpl_argz_create_sep':
ltdl.c:477: `ENOMEM' undeclared (first use in this function)
ltdl.c: At top level:
ltdl.c:513: parse error before `rpl_argz_insert'
ltdl.c:514: warning: data definition has no type or storage class
ltdl.c:517: parse error before `rpl_argz_insert'
ltdl.c: In function `rpl_argz_insert':
ltdl.c:550: `ENOMEM' undeclared (first use in this function)
ltdl.c: In function `argzize_path':
ltdl.c:2103: `error_t' undeclared (first use in this function)
ltdl.c:2103: parse error before `error'
ltdl.c:2109: `error' undeclared (first use in this function)
ltdl.c:2113: `ENOMEM' undeclared (first use in this function)
ltdl.c:2114: warning: unreachable code at beginning of switch statement
ltdl.c: In function `find_handle_callback':
ltdl.c:2253: `R_OK' undeclared (first use in this function)
ltdl.c: In function `lt_argz_insert':
ltdl.c:3012: `error_t' undeclared (first use in this function)
ltdl.c:3012: parse error before `error'
ltdl.c:3014: `error' undeclared (first use in this function)
ltdl.c:3018: `ENOMEM' undeclared (first use in this function)
ltdl.c:3019: warning: unreachable code at beginning of switch statement
ltdl.c: In function `lt_argz_insertdir':
ltdl.c:3074: dereferencing pointer to incomplete type
ltdl.c:3074: dereferencing pointer to incomplete type
ltdl.c:3079: dereferencing pointer to incomplete type
ltdl.c:3090: dereferencing pointer to incomplete type
ltdl.c:3099: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c:3109: dereferencing pointer to incomplete type
ltdl.c: In function `list_files_by_dir':
ltdl.c:3127: `DIR' undeclared (first use in this function)
ltdl.c:3127: `dirp' undeclared (first use in this function)
ltdl.c:3128: parse error before `int'
ltdl.c:3140: warning: assignment makes pointer from integer without a
cast
ltdl.c:3141: dereferencing pointer to incomplete type
ltdl.c:3144: `errors' undeclared (first use in this function)
make[1]: *** [ltdl.lo] Error 1
make[1]: Leaving directory `/usr/src/libtool-1.4.2/libltdl'
make: *** [all-recursive] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]