Re: Re: help for building FDS

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

 



Hmm - not sure. Looks like it could also be compiler related. Perhaps there is some other config option? I'm not really sure how the compiler/linker is supposed to handle the case where you have a variable declared as an external global and defined as a static in the same compilation unit e.g.
saslint.h:112
extern sasl_global_callbacks_t global_callbacks;

client.c:64
static sasl_global_callbacks_t global_callbacks;

And client.c includes saslint.h. There don't appear to be any ifdefs that protect one or the other. I wonder if there is some gcc4 compiler flag to allow this? In server.c, global_callbacks is defined as a _global_, not as a static, so I think the intention is that the definition of global_callbacks as a static in client.c is supposed to be a different variable than the one that is declared as global in saslint.h . . . weird.

speedy zinc wrote:

Whoa, your replies already showed up in the archive,
and I haven't received yet. What kind of email server
does yahoo have???

Anyway, following Rob's suggestion, I did the patch,
and it can get pass that issue.
Rich, I have perl in my path (perl v5.8.3), but I
don't think the build script actually generated the
files oiddata.h/c. Both files are there, but the last
modify time seems to date back to 2002-01-04. And the
oidgen.perl is there too.

Now, I'm getting a new problem:

rm -f .libs/client.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-I../plugins -I../include
-I/tmp/fedora-ds-build/include
-I/tmp/fedora-ds-build/include
-I/tmp/fedora-ds-build/include -Wall -W
-I/tmp/fedora-ds-build/include
-L/tmp/fedora-ds-build/lib -O2 -pipe
-I/tmp/fedora-ds-build/include
-L/tmp/fedora-ds-build/lib -O2 -pipe
-I/tmp/fedora-ds-build/include
-L/tmp/fedora-ds-build/lib -O2 -pipe -MT client.lo -MD
-MP -MF .deps/client.Tpo -c client.c  -fPIC -DPIC -o
.libs/client.lo
client.c:64: error: static declaration of
'global_callbacks' follows non-static declaration
saslint.h:112: error: previous declaration of
'global_callbacks' was here
make[4]: *** [client.lo] Error 1
make[4]: Leaving directory
`/home/csp/redhat/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/csp/redhat/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/csp/redhat/dsbuild/ds/cyrus-sasl/work/cyrus-sasl-2.1.20'
make[1]: *** [build-work/cyrus-sasl-2.1.20/Makefile]
Error 2
make[1]: Leaving directory
`/home/csp/redhat/dsbuild/ds/cyrus-sasl'
make: *** [dep-../../ds/cyrus-sasl] Error 2

:(

thx

sz



	
		
__________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux