06-12-2018
Hello bobochacha29,
Okay, so what actually is your problem? What you have described is a bit like ringing your local mechanic to say "There's something wrong with my car" and they have to guess is it out of fuel, headlights, engine won't start (lots of causes there) or you have forgotten your keys and tried someone else's keys from a similar car instead, or a multitude of other things down to "I can't find my way home"
Sharing your code would probably help along with the commands you are using and the output/errors. Please wrap the various parts in CODE tags to make there clear to read and preserve multiple spacing for indenting or fixed-width data.
We're all here to learn and getting the relevant information will help us all.
This User Gave Thanks to rbatte1 For This Post:
10 More Discussions You Might Find Interesting
1. AIX
Hello,
i will compile php and apache on an aix 5.1. Configure works fine.
When i start the make the following error appears:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the... (1 Reply)
Discussion started by: n-may
1 Replies
2. Programming
Hi, I'm trying to compile a Perl module for AIX 5.3. Now, Perl by default wants to use cc_r as compiler but I only have gcc installed on this system.
How can I get gcc to be thread safe? Or can I use gcc without any options and expect it to behave the same as cc_r? (0 Replies)
Discussion started by: rein
0 Replies
3. UNIX and Linux Applications
I try to compile Samba 3.0.27a under AIX with LDAP and KErberos.
The configure work fine:
CFLAGS:
-I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include
./configure --prefix=/opt/pware/samba/3.0.27a... (1 Reply)
Discussion started by: BenediktS
1 Replies
4. AIX
Compiling samba 3.0.27a under AIX
I try to compile Samba 3.0.27a under AIX with LDAP and KErberos.
The configure work fine:
CFLAGS:
-I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include
./configure... (2 Replies)
Discussion started by: BenediktS
2 Replies
5. HP-UX
Hi
When im trying to do make --version and make --help in HP-UX
it throws error
Make: Unknown flag argument -. Stop.
a soft link is present in this directory /usr/bin/make
and hard link is in /usr/ccs/bin/make
what could be the reason can any1 ..please tell me how to solve this... (1 Reply)
Discussion started by: vasanthan
1 Replies
6. AIX
Hi, i'm trying to work with a trial version of PurifyPlus 7 with fixpack 10 from Rational that needs to run over an AIX 5.3 platform, 64-bit. I had success on compiling and running the hello_world programs and even a hash test program i found over the net, but purify can achieve the same with the... (0 Replies)
Discussion started by: chrispav
0 Replies
7. AIX
Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens:
make: make 1254-025 There must be an existing description file or specify a target.
... (4 Replies)
Discussion started by: raidzero
4 Replies
8. UNIX for Advanced & Expert Users
Hello, I asked this question in the AIX subforum but never received an answer, probably because the AIX forum is not that heavily trafficked. Anyway, here it is..
I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs... (9 Replies)
Discussion started by: raidzero
9 Replies
9. AIX
Hi everyone:
I have a server running AIX 6.1, I've upgraded the TL from 6100-0100 to 6100-04-02-1007, however since then all the executables I compile are 32-bit mode by default, how can I solve this?
I'm using VisualAge C/C++ 10.0
thanks in advance (4 Replies)
Discussion started by: edgarvm
4 Replies
10. UNIX for Advanced & Expert Users
I'm getting error messages when trying to compile vsftpd version 3.0.2 on AIX 6.1 (trying to compile VSFTPD with SSL):
SRVR#:/opt/freeware/src/packages/SOURCES/vsftpd-3.0.2> make
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o... (2 Replies)
Discussion started by: ace1
2 Replies
NEXT(3) 1 NEXT(3)
next - Advance the internal array pointer of an array
SYNOPSIS
mixed next (array &$array)
DESCRIPTION
next(3) behaves like current(3), with one difference. It advances the internal array pointer one place forward before returning the element
value. That means it returns the next array value and advances the internal array pointer by one.
PARAMETERS
o $array
- The array being affected.
RETURN VALUES
Returns the array value in the next place that's pointed to by the internal array pointer, or FALSE if there are no more elements.
Warning
This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE. Please read the section on
Booleans for more information. Use the === operator for testing the return value of this function.
EXAMPLES
Example #1
Example use of next(3) and friends
<?php
$transport = array('foot', 'bike', 'car', 'plane');
$mode = current($transport); // $mode = 'foot';
$mode = next($transport); // $mode = 'bike';
$mode = next($transport); // $mode = 'car';
$mode = prev($transport); // $mode = 'bike';
$mode = end($transport); // $mode = 'plane';
?>
NOTES
Note
You won't be able to distinguish the end of an array from a boolean FALSE element. To properly traverse an array which may contain
FALSE elements, see the each(3) function.
SEE ALSO
current(3), end(3), prev(3), reset(3), each(3).
PHP Documentation Group NEXT(3)