[Samba] Please help with samba 3.0.21a on AIX 5.3

Colht, Charles Charles.Colht at acsalaska.com
Wed Jan 11 22:19:25 GMT 2006


Found that! It worked. Thanks for the help.

Chuck 

-----Original Message-----
From: William Jojo [mailto:jojowil at hvcc.edu] 
Sent: Tuesday, January 10, 2006 1:55 PM
To: Colht, Charles; samba at lists.samba.org
Subject: Re: [Samba] Please help with samba 3.0.21a on AIX 5.3


----- Original Message ----- 
From: "Colht, Charles" <Charles.Colht at acsalaska.com>
To: <samba at lists.samba.org>
Sent: Monday, January 09, 2006 8:37 PM
Subject: [Samba] Please help with samba 3.0.21a on AIX 5.3


> I've tried building samba 3.0.20 and 21a without luck. I've tried
binaries
and they all give this error. I know I am missing something but nothing
points to a solution.
>

In the binaries folder there is a README. There is a solution to the
posix_aio0 problem you are experiencing.

I need to update that doc with an additional line:

chdev -l posix_aio0 -a autoconfig=available -P


> ../bin/smbstatus
> exec(): 0509-036 Cannot load program ../bin/smbstatus because of the
following errors:
>         0509-130 Symbol resolution failed for
/usr/lib/libc.a(posix_aio.o)
because:
>         0509-136   Symbol _posix_kaio_rdwr (number 2) is not exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_listio (number 3) is not exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_acancel (number 4) is not exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_iosuspend (number 5) is not exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_aio_nwait (number 6) is not exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_aio_nwait64 (number 7) is not
exported
from
>                    dependent module /unix.
>         0509-136   Symbol _posix_aio_nwait_timeout (number 8) is not
exported from
>                    dependent module /unix.
>         0509-136   Symbol _posix_aio_nwait_timeout64 (number 9) is not
exported from
>                    dependent module /unix.
>         0509-136   Symbol _posix_iofsync (number 10) is not exported
from
>                    dependent module /unix.
>         0509-026 System error: Error 0
>         0509-192 Examine .loader section symbols with the
>                  'dump -Tv' command.
>
>
> This configure line successfully creates a Makefile:
>  ./configure --with-ads --with-winbind --with-pam --with-aio-support
>
> Running make gives this:
>
> make
> Using FLAGS
=  -O -D_SAMBA_BUILD_ -I./popt -Iinclude
-I/home/inst/software/samba/samba-3
.0.21a/source/include
-I/home/inst/software/samba/samba-3.0.21a/source/ubiqx
 -I/home/inst/software/samba/samba-3.0.21a/source/tdb  -I.
-DLDAP_DEPRECATED
 -I/home/inst/software/samba/samba-3.0.21a/source -D_SAMBA_BUILD_
>       LIBS =
>       LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok
>       LDFLAGS =
>       PIE_CFLAGS =
>       PIE_LDFLAGS =
> Compiling dynconfig.c
> In file included from /usr/include/aio.h:31,
>                  from include/includes.h:518,
>                  from
/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:
> /usr/include/sys/aio.h:91: error: field `aio_sigevent' has incomplete
type
> /usr/include/sys/aio.h:147: error: field `aio_sigevent' has incomplete
type
> In file included from
/home/inst/software/samba/samba-3.0.21a/source/dynconfig.c:21:
> include/includes.h:822: error: redefinition of `struct timespec'
> make: 1254-004 The error code from the last command is 1.
>

Ok, I'll take a look at this. Were there any other errors in the
config.log?

Also what does "oslevel -r" report? I'll bet it's baseline (5300-00). I
think I recall having problems with 5300-01 as well when I started
playing
with AIO support when Jeremy first released it. 5300-03 (which I'm
running)
is not reporting this problem for me since the binary has AIO support.
But,
if after you upgrade, you still have it, file a bug and I'll look into
it.


Cheers,

Bill


>
> Stop.
> Chuck Colht
> Sr System Administrator
> Alaska Communications Systems, Inc.
> 907-269-2673
> ccolht at acsalaska.com
>
>
>
>
************************************************************************
****
*******
> This transmittal may contain confidential information intended solely
for
> the addressee. If you are not the intended recipient, you are hereby
> notified that you have received this transmittal in error; any review,
> dissemination, distribution or copying of this transmittal is strictly
> prohibited. If you have received this communication in error, please
notify
> us immediately by reply or by telephone (collect at 907-564-1000) and
ask
to
> speak with the message sender. In addition, please immediately delete
this
> message and all attachments. Thank you. ACS
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>



More information about the samba mailing list