Hi Shoaib, You have to compile using a few of the libraries on the mounted disk image in addition to the cross compiler.
1) libc.so.6.1 2) ld-linux.so.2 If multithreaded Program: 3) libpthread.so.0 This is an example: (where mountpt is the location I have mounted the prebuilt disk image) /home/malek/x-tools_modified_4/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc ./source_file.c ../mountpt/lib/libpthread.so.0 ../mountpt/lib/libc.so.6.1 ../mountpt/lib/ld-linux.so.2 I used the linux-latest.img, and these are the ones found on there, the versions of the libraries might differ between disk images. Malek On Sat, Aug 21, 2010 at 12:46 AM, Muhammad Shoaib <[email protected]> wrote: > > > I am trying to add my own benchmarks for running the FS simulation for ALPHA. > > For this I used the crosstool-ng on the wiki page to get the cross compiler > for ALPHA..and after building the tool I used the following command to > compile my C file (which is nothing but a printf of Hello) > > 'alphaev4-unknown-linux-gnu-gcc' > > After including the binary in the image, (after unmounting) and running the > FS simulation gives me this error (I have made the changes in the > Becnhmark.py and added the .rcS file) > > ./hello: lib/lib.so.6.1: version 'GLIB_2.4' not found (required by ./hello) > > > Any idea, where I am going wrong!! > > Shoaib > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
