Programming :: Produce COFF Format Object File Using GCC Or AS?

May 10, 2010

I am trying to have GNU assembler produce object file COFF format? I did not find relevant information from GNU assembler's manual.

View 1 Replies


ADVERTISEMENT

Fedora :: Any Way To Produce Document In MS Word Format

Feb 1, 2010

I have been asked to provide a document in Microsoft word format. Is there a lightweight MS word editor to produce Microsoft word documents please? I don't want to install the whole Open Office thing just to produce one document.

View 6 Replies View Related

Programming :: Libmpi_f90.so.0: Cannot Open Shared Object File: No Such File Or Directory

Aug 6, 2010

I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.

error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory

View 1 Replies View Related

Programming :: Different Processes Using Same File Object

Sep 29, 2009

I have 2 completely different processes A and B (they do not have any relationship) suppose A opens a file with file descriptor 4 and B opens another file with file descriptor 5

Can process A use the fd 5 (i.e using the file object of processs B) by any means..if suppose i let the fd 4 of process A to point to the file object of process B(fd 5) will it work? is it safe?

View 3 Replies View Related

Programming :: How To View An Object File

Aug 14, 2009

Is there any way may be some tools to view and explore contents of .obj files (in a formatted or unformatted way) or an executable. Can we do it using gcc?

View 1 Replies View Related

Programming :: How Can An Object File Be Executed Without Startup And Housekeeping

Sep 22, 2009

I came from Windows and I am want to learn how C++ programs are compiled and executed in Linux. I read in "Thinking in C++" that the linker adds (by default) a startup module to the object files that an application should be made of. Now when I use g++, I can create an single object module out of a single source code file then execute it in the terminal like this:

./objectFile.out

How can this object file be executed while it doesn't contain the startup module? In Windows, object files usually get combined into an executable file (somthing.exe) then that executable can be executed, is this not necessary in Linux? does the OS perform required actions before it executes that object file?

View 3 Replies View Related

Programming :: Changing Shared Object File Default Place

Mar 27, 2010

I wanted to know how can I change the default place of shared object files of a program in a system. let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.

View 1 Replies View Related

Programming :: Execute A Function Which Is In A Object File Throgh Libbfd?

Sep 10, 2010

I hava a source file add.c

int add(int a,int b){
return a+b;
}

then i compile it, gcc -c add.c now we get a object file add.o, I want to execute the function add(int a,int b)(the functinon in the object file add.o) how can i use libbfd to execute it?

View 1 Replies View Related

Programming :: Object To Represent An Object Of Different Types?

Mar 1, 2010

Only ones I can think of seem overly complex, and I'm sure there is a simple solution I am overlooking. I have a class, it has a member who is an object. This object needs to be able to represent an object of different types.

[code]...

Where "surface" could be several different types, which will be set during execution. Hope this is clear enough. I have tried using templates but am getting "data member cannot be a member template". Either I have incorrect syntax, or am not implementing it right. another solution would have one class containing definitions of all possible shapes, But this would take up extra memory. Other solutions I thought of seem too round-about, and seems there is a simpler solution that I have overlooked.

View 8 Replies View Related

Programming :: Libmysqlclient Error "libmysqlclient.so.14: Cannot Open Shared Object File: No Such File Or Directory" On Ubuntu 9.10

Apr 1, 2010

I am currently using Ubuntu 9.10. I am writing a small code in C which test the connectivity with MYSQL. I am getting this error. "libmysqlclient.so.14: cannot open shared object file: No such file or directory" What I understand is that you need MYSQL development package in order to access MYSQL database in C. I installed MYSQL using this command. apt-get install mysql-server mysql-client

View 2 Replies View Related

Programming :: Scan In A File Which Has The Format?

Apr 3, 2011

I am trying to scan in a file which has the format of

Quote:
username:password
hello:world
right now my program says
Code:
Scanner fin = null;
try
{
fin = new Scanner(new FileReader("proj1/passwd.txt"));

[Code]...

How do i correctly use delimiter to take in only the strings on one line?

View 1 Replies View Related

Programming :: Produce A Ill Legal Fault?

Oct 10, 2010

I encounter a problem with my program recently, i get the core dump of my
program, and it produced by a segill signal, i wondered that how my program can happen to generate this error, and i never write a "0 divide"

View 4 Replies View Related

Programming :: Reading A Simple File Format In C?

Dec 16, 2010

I made a string key-value mapping struct in C, and functions to add and remove entries. I would also like to write a function to read in this file format:

Code:
key: value
another: another value

[code]...

View 14 Replies View Related

Programming :: "Cannot Open Shared Object File"?

May 13, 2010

Now that I've entered the realms of permanent beta software I'm completely lost.

I compile a program like this: icc main.c -L. -lxyz -L/usr/X11R6/lib -lX11 -lpthread -lm -std=c99

(But I have no concrete idea about what -L and -l mean. l is short for lib? Why? -L seems to specify the path for some library that follow directly afterwards?). Anyway, it works.

So I get an output file a.out (why a?), which I run by writing ./a.out .

Then I get this error message: error while loading shared libraries: lxyz.so: cannot open shared object file: No such file or directory

I have it in my directory but it won't find it? What's wrong?

View 2 Replies View Related

Programming :: Change Data Format In A File Using Bash?

Mar 24, 2010

I want to change data format in a file using bash. The orignal is like:

Code:
1 abc 6 pqr
2 def 7 stu
3 ghij 8 vwx
4 kl 9 yz

[Code]....

View 9 Replies View Related

Programming :: String Format - Create A Text File ?

Feb 3, 2010

I am using C. I have a fuction that returns a string

Code:

I need to format this string so that I can create a text file like so:

So I'm trying:

Code:

But I get errors like:

View 2 Replies View Related

Programming :: Simple Shell Script That Produce Digit Values

Aug 9, 2010

I just started learning shell programming and I'm trying to create a shell script that produce something like this:
Input: 1 234 5 678 9
Output: < <<< 5 >>> >
Input:abc d 1234 5 5 67890 e f ghij
Output:abc d <<<< 5 5 >>>< e f ghij
Characters with values less than 5 will display '<' digit values greater than 5 display '>'. The digit '5' will be left unchanged.

Below is my unfinished code:
#!/bin/sh
read userInput
for f in "$userInput"
do
f1="$(echo ${f} | sed "s/[^0-9]//g")"
if test $f1 -lt 4
then
f3='<'
elif test $f1 -gt 6
then
f3='>'
fi
f2="$(echo ${f} | tr "$f1" "$f3")"
echo $f2
done

View 12 Replies View Related

Programming :: Getting A Open Source Sound File Format For Bitwise Editing?

Feb 19, 2011

I was wondering, what would be a good, open-source file format for a beginner in the field, like me, to start editing sound files? This file format would have to be well documented, preferibly open-source, lossless and, most of all, convertible to more popular file formats, such as mp3 or wav maybe. I would like to design my own sound effects through directly editing the binary sequence of a sound file. I imagine this editing would have the purpose of adjusting the voltage variations of the sound device's output in time. It would be perhaps something like a PC-controlled signal generator. I'm thinking I might be able to do this in linux with something like

Code:

$ dd if=mysound.raw of=/dev/audio

But then, which book or resource woule be a good and through explenation of the relationship between the bit sequence in mysound.raw and the signal function generated in the output of, say, my computer's sound card.

View 10 Replies View Related

Programming :: C++ Link Error - File Format Not Recognized - Treating As Linker

Apr 22, 2010

I am trying to compile a software using a provided sdk. I suspect that the sdk has some mismatch of the platform library, but I am not sure.

The error I got is

Code:

The libidata.so.42 is there in that folder. I guess the file might be in a big endian. Is there a way to check if the libidata.so.42 i have might be a big endian format, rather than little endian?

If my guess is incorrect, This is a c++ code on fedora x86 machine.

View 4 Replies View Related

OpenSUSE :: SMILE (Manslide) Do Not Produce Output File

Sep 6, 2010

I needed for the first time to do a slideshow of some pictures, I thought it would be a easy thing but now I have two days trying to do it. I downloaded Manslide, I spent about two hours working on it doing the slides but at end of the render process it do not produce any output. Then I discover that Manslide now is SMILE that is in Packman repo. I spent another two hours making again my slideshow but at the end it didn't produce the output video file. I have all the dependencies, I switch all of them to Packman rpms.

View 4 Replies View Related

OpenSUSE :: Smile - Doesn't Produce Any Output File

Dec 18, 2010

If you install Smile (video slideshow creator) from Packman repository, you will probably find out that it doesn't produce any output file. This project is most probably dead, homepage is 404 and it's practically impossible to get any information about this program. Therefore it took me 3 exhausting hours to get it working Here is the solution: There is a missing fake.pl file, so you have to copy it to the right place, which is /opt/smile (for OpenSuse, for other distros it could be elsewhere, for example /usr/bin). You can obtain this file from the source package but as it is very small I post it right here to spare your time:

[Code].....

So create a new file /opt/smile/fake.pl and copy these lines into it. Btw. the original file from the source doesn't have the first line, but according to the tip from different forum it is supposed to be here. If Smile still doesn't work you might try to add some extra permission to fake.pl, something like chmod 755 /opt/smile/fake. And if it is still not working check the log file ~/.logsmile.txt This file is by the way also impossible to find, there is no sign of him in the documentation.

View 3 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

Programming :: Going Through A Multi-step Process To Produce Output Files, Which Involves 25,000 Greps At One Stage?

Nov 8, 2010

I am going through a multi-step process to produce output files, which involves 25,000 greps at one stage. While I do achieve the desired result I am wondering whether the process could be improved (sped up and/or decluttered).input 1set of dated files called ids<yyyy><mm> containing numeric id's, one per line, 280,000 lines in total:

Code:
123456
999996

[code]....

View 14 Replies View Related

Debian :: Produce A .deb File Out Of A Regular Firefox Precompiled Downloadable Binary

Apr 3, 2011

is there a way to produce a .deb file out of a regular firefox precompiled downloadable binary, the ones we can download of their ftp? I don't want to start an iceweasel/firefox flame war.

View 9 Replies View Related

General :: 'read' The Log File In Nagios And Produce A So-called 'scoreboard' In Ubuntu 9.10

Jul 26, 2010

Is there any software that can 'read' the log file in nagios and produce a so-called 'scoreboard' (something like a graph) to display the status of the services? I was told that one could 'read' the log file stored in nagios and create a scoreboard.

View 12 Replies View Related

Fedora :: Create A Pdf File In A3 Format From Two Sheets In A4 Format?

Apr 7, 2010

my school we want to print a magazine but we have problem with the format of the files. We need to create a sheet in A3 format from two sheets in A4 format. I was reading about the pdftk library but it doesn't do what i need.

View 4 Replies View Related

Ubuntu Installation :: Libotcl.so: Cannot Open Shared Object File: No Such File Or Directory

Feb 15, 2010

there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory

View 1 Replies View Related

Ubuntu Multimedia :: Libpython2.5.so.1.0 - Cannot Open Share And Object File: No Such File Or Directory

Jul 27, 2010

When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?

View 1 Replies View Related

Ubuntu Installation :: Libgtk-1.2.so.0: Cannot Open Shared Object File: No Such File Or Directory

Aug 8, 2010

I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:

/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.

View 1 Replies View Related

Ubuntu :: ImportError: Libtiff.so.3: Cannot Open Shared Object File: No Such File Or Directory

Dec 22, 2010

I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:

Quote:

Traceback (most recent call last):
File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module>
File "src/bp.py", line 20, in <module>
File "src/bp_cli.py", line 21, in <module>

[code]....

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved