Arla and OS X Tiger
Massimo Marino
Massimo_Marino at lbl.gov
Tue May 3 10:16:10 CEST 2005
On May 3, 2005, at 10:04 AM, Massimo Marino wrote:
> On May 3, 2005, at 9:28 AM, Massimo Marino wrote:
>
>
>
>>> /bin/sh ../../libtool --mode=link --tag=CC gcc -Wall -Wmissing-
>>> prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-
>>> declarations -Wnested-externs -DINET6 -g -I/sw/include -Wall -
>>> Wmissing-prototypes -Wpointer-arith -Wmissing-declarations -
>>> Wnested-externs -L/sw/lib -flat_namespace -o gensysname
>>> gensysname-gensysname.o ../../util/libarlautil.la ../../lib/roken/
>>> libroken.la -L/usr/lib -L-DINET6 -L-g -L-I/sw/include -L-Wall -
>>> L-Wmissing-prototypes -L-Wpointer-arith -L-Wmissing-declarations -
>>> L-Wnested-externs -L-Wl,-search_paths_first -lkrb5 -lk5crypto -
>>> lkrb5support -lcom_err -lresolv
>>> ../../libtool: line 1: cd: -D: invalid option
>>> cd: usage: cd [-L|-P] [dir]
>>> libtool: link: cannot determine absolute directory name of `-DINET6'
>>> make[1]: *** [gensysname] Error 1
>>> make: *** [all-recursive] Error 1
>>>
>>>
>>>
>>
>>
>> forgot to add: where all those spurious '-L' comes from exactly?
>>
>>
>
> sorry for replying to myself: they are in the Makefile for
> KRB5_LIB_FLAGS and KRB5_LIB_DIR, RXKAD_LIBS.
>
> M.
Removing the spurious '-L' from config status allows to go further
but stops now with:
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../lib/
> roken -I../lib/roken -I../include -I../include -I../include -I../
> include -I/sw/include -Wall -Wmissing-prototypes -Wpointer-arith -
> Wbad-function-cast -Wmissing-declarations -Wnested-externs -DINET6 -
> g -I/sw/include -Wall -Wmissing-prototypes -Wpointer-arith -
> Wmissing-declarations -Wnested-externs -c rxperf.c
> rxperf.c:82: error: static declaration of '__progname' follows non-
> static declaration
> ../lib/roken/err.h:45: error: previous declaration of '__progname'
> was here
> rxperf.c: In function 'do_client':
> rxperf.c:693: warning: pointer targets in passing argument 3 of
> 'readfile' differ in signedness
> rxperf.c: In function 'rxperf_client':
> rxperf.c:961: warning: format '%ld' expects type 'long int', but
> argument 3 has type 'suseconds_t'
> rxperf.c:961: warning: format '%ld' expects type 'long int', but
> argument 5 has type 'suseconds_t'
> make[1]: *** [rxperf.o] Error 1
> make: *** [all-recursive] Error 1
More information about the Arla-drinkers
mailing list