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

RE: [microblaze-uclinux] cgihtml



Hi all,

I have checked and I have CONFIG_USER_CGIHTML in .config file in ./config directory.

When I try to compile petalinux, I have this error:


template.c: In function `template_page':
template.c:6: warning: unused variable `i'
microblaze-uclinux-gcc   -msoft-float -mxl-pattern-compare -mno-xl-soft-mul -mxl-soft-div -Wl,-elf2flt -o cgi_demo cgi.o cgivars.o htmllib.o template.o
make[2]: Leaving directory `/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/software/petalinux-dist/user/cgi_generic'
make[2]: Entering directory `/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/software/petalinux-dist/user/cgihtml/examples'
microblaze-uclinux-gcc  -Os -g -fomit-frame-pointer -fno-common -fno-builtin -Wall   -msoft-float -mxl-pattern-compare -mno-xl-soft-mul -mxl-soft-div  -DEMBED -I/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/software/petalinux-dist -Dlinux -D__linux__ -Dunix -D__uClinux__   -c -o query-results.o query-results.c
microblaze-uclinux-gcc   -msoft-float -mxl-pattern-compare -mno-xl-soft-mul -mxl-soft-div -Wl,-elf2flt -o query-results query-results.o ../cgihtml.a
/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/../../../../microblaze-uclinux/bin/ld: line 168: 24139 Segmentation fault      $LINKER $EMUL -r -d -o "$OFILE.elf2flt" $ARG1
collect2: ld returned 139 exit status
make[2]: *** [query-results] Error 1
make[2]: Leaving directory `/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/software/petalinux-dist/user/cgihtml/examples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/proj/ms/sebastien/petalinux/backup/27_07/petalinux-v0.10-rc1/software/petalinux-dist/user'
make: *** [subdirs] Error 1

Best regards,
Sebastien 

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx on behalf of Yeoh Chun Yeow
Sent: Tue 7/31/2007 3:24 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] cgihtml
 
Dear Sebastien,

Did you select the cgihtml during "make menuconfig"? Double check in .config
in ./config directory, ensure that CONFIG_USER_CGIHTML is selected.

Hope this help.

regards,
chun yeow

On 7/31/07, Sebastien Baldacchino <sebastien.baldacchino@xxxxxxxxxx> wrote:
>
>  Hi all,
>
>
>
> I would to execute a c file in the folder
> petalinux-dist/user/cgihtml/exemple of petalinux v010-rc1.
>
>
>
> I have put my c file in this folder and add a line in the Makefile file to
> compile it, but after when I execute the Makefile, I have an executable file
> but without the extension .gdb and I have no binary file. It is the same
> when I make in petalinux-dist folder the command "make all". Sometimes I
> have the executable file with the extension .gdb and sometimes not.
>
>
>
> It is the same problem with the other files as test.cgi or query-results.c
> .
>
>
>
>
>
>
>
>
>
>
>
> Best Regards,
>
> Sebastien
>
>
>

<<winmail.dat>>