Hi,
I have no concrete idea.
2009/2/11 HAT <hat@...>:
> I'm trying to build CVS HEAD on Solaris 10.
>
> LD_LIBRARY_PATH=/opt/sfw/lib ; export LD_LIBRARY_PATH
> autogen.sh \
> --enable-srvloc=/usr \
> --with-ssl-dir=/usr/sfw \
> --with-bdb=/opt/sfw \
> --sysconfdir=/etc \
> --with-logfile=/var/log/netatalk.log
> gmake
Try Solaris make.
>>Undefined first referenced
>> symbol in file
>>dirfd directory.o
>>ld: fatal: Symbol referencing errors. No output written to afpd
>>collect2: ld returned 1 exit status
That definitely is in libc:
frank@...$ nm /lib/libc.so | grep dirfd
[7054] | 299048| 10|FUNC |GLOB |3 |13 |dirfd
> I wrote a patch.
Afaict it shouldn't be necessary.
> But, it still failed.
>
>>In file included from /usr/include/sys/systm.h:20,
>> from /usr/include/sys/conf.h:40,
>> from tpi.c:6:
>>/usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
>>/usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid"
>>/usr/include/sys/proc.h:337: error: syntax error before '}' token
>>/usr/include/sys/proc.h:345: error: syntax error before '*' token
>>/usr/include/sys/proc.h:349: error: syntax error before '*' token
>>/usr/include/sys/proc.h:350: error: syntax error before '*' token
Which netatalk files caused these include and errors?
Andrew reportedly can build CVS HEAD on Solaris 10 and I can build on
a stock Opensolaris 10 just fine. So there might be something with
your installation. Have you read Andrews original mail (afair from
December'08) where he wrote how some generated header file was
foobared ?
-Frank
-Frank
|