[OpenAFS-devel] Compile on ppc_linux26 - still trying

Frank Bagehorn FBA@zurich.ibm.com
Mon, 14 Feb 2005 17:44:58 +0100


This is an S/MIME signed message.

---------z14569_boundary_sign
Content-Type: text/plain; charset="US-ASCII"

Oliver,
you are right, when I use the patch for osconf.m4 that Chas Williams 
provided (Bugtracker Ticket #17527) then I don't have to patch those 
files.
Also lwp looks right now.
So what remains is "just" an error compiling the kernel module. Looks like 
the definition of flock64 is not found.
I guess there has to be an include statement for asm/fcntl.h somewhere, 
but I haven't figured out yet, where...

Regards
Frank

----------------------------------------------------------------------
Dr. Frank Bagehorn
Manager Infrastructure Services ZRL IS
IBM Zurich Research Lab.
Saeumerstr. 4
CH-8803 Rueschlikon 
Switzerland
----------------------------------------------------------------------
SMTP: fba@zurich.ibm.com
Notes: Frank Bagehorn/Zurich/IBM@IBMCH
phone: ++41 (01) 724 83 23  fax: ++41 (01) 724 89 59

Oliver Paukstadt <pstadt@sourcentral.org> wrote on 02/11/2005 03:19:53 PM:

> On Tue, 1 Feb 2005, Frank Bagehorn wrote:
> 
> > Ok, I got a bit further with my trials to compile on a PowerPC Blade 
with 
> > SLES9.
> > Until now I had a problem with an undeclared variable in compile_et.c 
.
> > My workaround for it looks like this
> > 
> > --- src/comerr/compile_et.c     2005-02-01 18:53:41.082020292 +0100
> > +++ src/comerr/compile_et.c     2005-02-01 18:53:18.668560000 +0100
> > @@ -50,6 +50,8 @@
> >  extern FILE *yyout;
> >  #ifdef AFS_AIX51_ENV
> >  int yylineno = 0;
> > +#elif AFS_PPC_LINUX26_ENV
> > +int yylineno = 0;
> >  #else
> >  extern int yylineno;
> >  #endif
> This is a flex problem.
> flex needs to run with option -l for full lex compatibility, or 
> %%option yylineno needs to be added to the lex source file.
> 
> > Then I ran into a problem with undeclared variables in rx_pthread.c It 

> > took me a while to realize, that the AFS_PTHREAD_ENV variable was not 
set 
> > and I set it in the parameter file.
> Looks like you did not add your architecture to src/cf/osconf.m4, this 
is 
> where all these things are set, even flex -l.
> 
> Regards,
> Oliver Paukstadt
> 
> ----------------------------------------------------------------------
> Oliver Paukstadt                                pstadt@sourcentral.org
> 
>           Linux without limits: http://linux.zSeries.org/
> ----------------------------------------------------------------------
> 
> 


---------z14569_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIIUOAIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIISWDCCAtow
ggJDoAMCAQICAwMUtjANBgkqhkiG9w0BAQQFADBOMQswCQYDVQQGEwJVUzEQMA4GA1UEChMHRXF1
aWZheDEtMCsGA1UECxMkRXF1aWZheCBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MB4XDTAy
MDExNDIyMDcxMVoXDTExMTIzMTIyMDcxMVowaTELMAkGA1UEBhMCVVMxNDAyBgNVBAoTK0ludGVy
bmF0aW9uYWwgQnVzaW5lc3MgTWFjaGluZXMgQ29ycG9yYXRpb24xJDAiBgNVBAMTG0lCTSBDZXJ0
aWZpY2F0aW9uIEF1dGhvcml0eTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA629xc49NpAPz
cAsuShTImLRYMkyepDEkC1UrPbsFRyAFZKsv3pw0MGfW/+7glzJKgPkPzlTZZfznznGbmAWVnNBQ
lyPasOtCjif603euRXReHcKfHMPLItKozibWIPHJuOnwNclOnnP2sKufuPzbTImQTTi5c8JZNZcM
J0YFzTcCAwEAAaOBqjCBpzARBglghkgBhvhCAQEEBAMCAIcwDgYDVR0PAQH/BAQDAgHGMB0GA1Ud
DgQWBBSuVA6S6qgzqSskLcfIbzDc3vNKQDAfBgNVHSMEGDAWgBRI5mj5K9KylddH2CMgEE8zmJCf
1DAPBgNVHRMBAf8EBTADAQH/MDEGA1UdJQQqMCgGCCsGAQUFBwMBBggrBgEFBQcDAgYIKwYBBQUH
AwMGCCsGA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