You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by VijesH <kv...@gmail.com> on 2007/01/19 06:56:18 UTC
[Axis2c] Build Error
hi,
I get this error when I try to`make` in the source directory. The env
var AXIS2C_HOME is also set.
make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96/ides'
make[2]: Entering directory `/home/vijesh/Axis2C/axis2c-src-0.96'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -D_LARGEFILE64_SOURCE
-ansi -Wall -Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED
-lpthread -o output -lz -ldl
mkdir .libs
gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
-Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED -o output
-lpthread -lz -ldl
/usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function `_start':
init.c:(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [output] Error 1
make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96'
make: *** [all] Error 2
Any help on this regard.
Thanks
Vijesh
Re: [Axis2c] Build Error
Posted by VijesH <kv...@gmail.com>.
No, I din change any. But it didn't work for me!
But later I was able to resolve by adding "-c" as gcc option.
Regards,
Vijesh
On 1/22/07, Ishan De Silva <is...@gmail.com> wrote:
>
> Hi Vijesh,
>
> I downloaded the Axis2c 0.96 tar ball and compiled it on SuSE Linux 10.
> configure, make, make install worked without any problem. Did you change
> anything before you compiled?
>
> Cheers,
> Ishan.
>
>
> VijesH wrote:
> > hi,
> > I get this error when I try to`make` in the source directory. The
> > env var AXIS2C_HOME is also set.
> >
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96/ides'
> > make[2]: Entering directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -D_LARGEFILE64_SOURCE
> > -ansi -Wall -Wno-implicit-function-declaration
> > -DAXIS2_SVR_MULTI_THREADED -lpthread -o output -lz -ldl
> > mkdir .libs
> > gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
> > -Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED -o output
> > -lpthread -lz -ldl
> > /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function
> `_start':
> > init.c:(.text+0x18): undefined reference to `main'
> > collect2: ld returned 1 exit status
> > make[2]: *** [output] Error 1
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96'
> > make: *** [all] Error 2
> >
> > Any help on this regard.
> > Thanks
> > Vijesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
Re: [Axis2c] Build Error
Posted by Ishan De Silva <is...@gmail.com>.
Hi,
I didn't set any flags. Do you mean the AXIS2C_HOME? Setting that is not
a must to compile the distribution.
Cheers,
Ishan.
VijesH wrote:
> Ishan,
> Let me know the flags you had set before the installation?
>
> On 1/22/07, *Ishan De Silva* <ishan.asf@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi Vijesh,
>
> I downloaded the Axis2c 0.96 tar ball and compiled it on SuSE Linux 10.
> configure, make, make install worked without any problem. Did you change
> anything before you compiled?
>
> Cheers,
> Ishan.
>
>
> VijesH wrote:
> > hi,
> > I get this error when I try to`make` in the source
> directory. The
> > env var AXIS2C_HOME is also set.
> >
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96/ides'
> > make[2]: Entering directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2
> -D_LARGEFILE64_SOURCE
> > -ansi -Wall -Wno-implicit-function-declaration
> > -DAXIS2_SVR_MULTI_THREADED -lpthread -o output -lz -ldl
> > mkdir .libs
> > gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
> > -Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED -o
> output
> > -lpthread -lz -ldl
> > /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function
> `_start':
> > init.c:(.text+0x18): undefined reference to `main'
> > collect2: ld returned 1 exit status
> > make[2]: *** [output] Error 1
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > make: *** [all] Error 2
> >
> > Any help on this regard.
> > Thanks
> > Vijesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> <ma...@ws.apache.org>
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> <ma...@ws.apache.org>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: [Axis2c] Build Error
Posted by VijesH <kv...@gmail.com>.
Ishan,
Let me know the flags you had set before the installation?
On 1/22/07, Ishan De Silva <is...@gmail.com> wrote:
>
> Hi Vijesh,
>
> I downloaded the Axis2c 0.96 tar ball and compiled it on SuSE Linux 10.
> configure, make, make install worked without any problem. Did you change
> anything before you compiled?
>
> Cheers,
> Ishan.
>
>
> VijesH wrote:
> > hi,
> > I get this error when I try to`make` in the source directory. The
> > env var AXIS2C_HOME is also set.
> >
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96/ides'
> > make[2]: Entering directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -D_LARGEFILE64_SOURCE
> > -ansi -Wall -Wno-implicit-function-declaration
> > -DAXIS2_SVR_MULTI_THREADED -lpthread -o output -lz -ldl
> > mkdir .libs
> > gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
> > -Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED -o output
> > -lpthread -lz -ldl
> > /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function
> `_start':
> > init.c:(.text+0x18): undefined reference to `main'
> > collect2: ld returned 1 exit status
> > make[2]: *** [output] Error 1
> > make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96'
> > make: *** [all] Error 2
> >
> > Any help on this regard.
> > Thanks
> > Vijesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
Re: [Axis2c] Build Error
Posted by Ishan De Silva <is...@gmail.com>.
Hi Vijesh,
I downloaded the Axis2c 0.96 tar ball and compiled it on SuSE Linux 10.
configure, make, make install worked without any problem. Did you change
anything before you compiled?
Cheers,
Ishan.
VijesH wrote:
> hi,
> I get this error when I try to`make` in the source directory. The
> env var AXIS2C_HOME is also set.
>
> make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96/ides'
> make[2]: Entering directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -D_LARGEFILE64_SOURCE
> -ansi -Wall -Wno-implicit-function-declaration
> -DAXIS2_SVR_MULTI_THREADED -lpthread -o output -lz -ldl
> mkdir .libs
> gcc -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
> -Wno-implicit-function-declaration -DAXIS2_SVR_MULTI_THREADED -o output
> -lpthread -lz -ldl
> /usr/lib/gcc/i586-suse-linux/4.1.0/../../../crt1.o: In function `_start':
> init.c:(.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [output] Error 1
> make[2]: Leaving directory `/home/vijesh/Axis2C/axis2c- src-0.96'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vijesh/Axis2C/axis2c-src-0.96'
> make: *** [all] Error 2
>
> Any help on this regard.
> Thanks
> Vijesh
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org