Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to compile a portable library written in c

Status
Not open for further replies.

angel84

Programmer
Oct 5, 2012
6
IT
Hi everybody!

I hope that is the right forum for my question! Otherwise let me know!
My problem is that I need to compile a portable library with source code written in c. It needs only a header file to compile, which I added to the folder that contains the library. The problem is that, when i try to compile it (writing 'make' on command line), it returns the following list of errors:

make
cc -c -I/scratch/SUnix//include -m64 -O3 -Wall -Wno-long-long -ansi -pedantic -D_POSIX_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DGNU_SOURCE -DCWP_LITTLE_ENDIAN abel.c
ar rv /scratch/SUnix//lib/libcwp.a abel.o
r - abel.o
ar: could not create temporary file whilst writing archive: No more archived files
make: *** [/scratch/SUnix//lib/libcwp.a(abel.o)] Error 1

Could you give me some hints about how to solve this problem?

Thank you in advance

Angelo Sajeva
University of Pisa

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top