Programming :: Got "Build Failed" When Making Debug With Mono Developer?
Feb 23, 2010
I've installed mono developer, but when I want to make debug I got this message : Build failed. ApplicationName='/usr/bin/gmcs', CommandLine='"@/tmp/tmp17a7a5e2.tmp"', CurrentDirectory= ...
View 1 Replies
ADVERTISEMENT
May 21, 2011
I just install the latest beta chromium by executing these commands:
Code:
The problem is I still want the Stable version of Chromium, and I want the developer version of Chromium not the beta release. So I got 2 problems: I need to downgrade this Chromium to the Stable release and then I want to install the developer release of Chromium and not lose this Stable release. I'm currently running 11.04 Ubuntu..
View 3 Replies
View Related
Apr 17, 2011
It's been a very long time since I did much C development and I'm trying to contribute to a PECL extension for PHP. PHP and the PECL extensions are written in C and I'd like to set up my dev environment so that I can use a nice IDE (like Eclipse) and debug my code, stepping through it within a nice GUI. I'm hoping to develop on a linux box (Ubuntu 10) rather than Windows.
The main issue I have is that I don't know how to configure Eclipse (with CDT) so that it runs the entire process: configure/make/make install and then allows me to step through my code within the Eclipse GUI IDE. I have managed to edit files and then build from the command line and then use GDB to step through the code, but that's *REALLY* tedious.
Also, the PHP source codebase is quite large and takes several minutes to build. I'm hoping I might be able to limit the build to just one particular extension rather than rebuilding the whole things. Lastly, I'd like to avoid installing the new, possibly broken, code in order to run it. Unless I'm mistaken, the build process results in a binary being constructed in the source directory and I'd like to debug using that new binary before I bother to install it on my system. Sorry if these questions seem really basic. Like I said, it's been awhile and I'm hoping to get back on the horse quickly.
View 4 Replies
View Related
Jun 27, 2011
I have a set of bash scripts that I'm running that automatically build a set of packages for me and redirect their output into logs. Basically, I have a bunch of lines that are something like this: ${CONFIGURE_DIR}/configure &> ${LOG_DIR}/log or cd ${CONFIGURE_DIR} && make &> ${LOG_DIR}/log, etc.
This is supposed to make the entire process silent. However, sometimes with some packages some output leaks to my console (either stdout or stderr). I'm thinking that maybe the configure scripts/make are executing commands within new shell instances that don't inherit my redirect, or something to that effect.
Another reason for thinking this is that in another part of my script I detect errors when running make by testing with "if [ $? -ne 0 ]", and if the redirect leaks to my console and also the leaked output indicates that the build failed ("make: Error" and so on), then my $? test fails (i.e., it thinks that $? == 0, whereas a failed make should return a non-zero value). It's as if my original script can't "see" the results from child commands executed from later scripts.
View 1 Replies
View Related
Sep 3, 2011
When i open project in code blocks and click build and run, it pop out debug report and exit after that
View 3 Replies
View Related
Apr 19, 2011
Ant was installed in yast2 but will not run since build.xml was never created. How can this be fixed? I would like to run AudioTool.
View 5 Replies
View Related
Jan 5, 2010
Edit: Oops. Sorry if this is in the wrong forum. I meant to post it in the general forums, yet somehow it ended up here. It kind of fits here as well I guess. I am currently trying to move my career forward and am not having much luck. So I've come to see if any of you can offer some fresh advice to help me out.
Let me tell you first where I stand in my career to give you an idea of where I'm starting from. I am currently 26 years old and have recently graduated with a bachelors of computer science from university. I would call myself an average student, nothing special, nor anything horrible. Out of university this landed me an ok job as a PHP developer. However I dont want to stagnate in this position scripting junk all day and not ever challenge myself. not to mention i could certainly rant for a while on the things that fall short at my current position (read: being banned from object oriented programming because the boss cant understand it)
I'd like to find a job that (1) challenges me just the right amount to help me learn and grow but not get overwhelmed in a language I enjoy (hopefully such as C/C++/Java or the like)
(2) is at a company with at least some software design process implemented (agile,xp,etc)and if that is to much to ask, then I'd at least like to move in that direction. So that is what I am looking towards and I would love any advice on how to achieve that. Maybe some of you were in my position 5 or 10 years ago and could shed some light on the subject. I've scoured the internet for job postings that offer what I am looking for, but they are really hard to find. The postings are usually looking for senior or intermediate level programmers with at least 5+ years of experience, or looking for web development script monkeys to make "The next big facebook app" (the job I already have)
I've also considered attending conferences and such, but have never really been, and wouldn't know what to do, or where to even find out about them (I used to see postings every now and then at university, but now I live in a small town.)
View 2 Replies
View Related
Feb 28, 2010
I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.
View 4 Replies
View Related
Aug 24, 2010
So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the following message:
$ ~/bin/MyMonoApp
wine: Install the Windows version of Mono to run .NET executables
~/bin/MyMonoApp: command not found
I can only convince it to run by explicitly calling mono:
$ mono ~/bin/MyMonoApp
So, how can I make this the default, so I don't have to explicitly call mono every time?
View 1 Replies
View Related
Apr 21, 2009
downloaded a project from the Internet and tried to debug it, but run into a problem. i managed to copy the part where it build the executable I need. The problem is that I cannot use gdb with this executable for some reason. However, running the it without gdb seems to work ok. Below is what it shows when compiling and link.
Compile:
Code:
gcc -g -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
-DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE="sphinx3"
-DVERSION="0.7" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
[code]....
View 9 Replies
View Related
Mar 3, 2011
I have a html page that calls a c cgi script on my local server; how can i view the html page and debug the script at the same time? if i would give some input in a form on the html page then i want to debug the script with the entered data. my gues was with w3m and gdb but i don't know how its done...
View 9 Replies
View Related
Jun 14, 2010
It seems GDB can not expand or show the macro expansion or its definition under the GDB debug to while debugging the program. how to debug macros under GDB?
Sample Code:
#include <stdio.h>
#include "sample.h"
#define M 42
#define ADD(x) (M + x)
[code]....
View 7 Replies
View Related
Jan 31, 2010
I want debug kernel.bin
this file is boot in floppy
View 1 Replies
View Related
Nov 18, 2010
How can I create packages for Windows7 and Linux using C# in mono-develop ? Will the packet be directly installed under Windows7 ?
View 1 Replies
View Related
May 13, 2010
I am creating a simple program using C# to print the contents of the todo.txt file once it has run. Problem is when I run the program, I get this warning.
PHP Code:
[code]....
View 12 Replies
View Related
Nov 15, 2010
I have developed an application written in C, Linux well tested and stripped off all the symbols for final deployment. When I'm testing the stripped off version of the application in the field. Here the application has got crashed. Now how to debug the application.
View 6 Replies
View Related
Jun 16, 2010
debug my code as root in eclipse without starting the eclipse as root? I searched on the net, and seems like it is not possible.
View 4 Replies
View Related
Aug 25, 2009
is there a way to debug my library files from DDD? Basically a way to pass the paths to DDD so I can view the source etc. I'm having a segmentation nightmare, which only crops up about every 10 or so starts, I know it's in one file in a library. I could move the source file into my general code to debug, but am sure there's a way in DDD.
View 1 Replies
View Related
Jun 26, 2011
I am trying to debug the dsdv.cc file of ns-2. I have attached the screenshots of the results.I added ns-2.34 as project in eclipse then opened dsdv.cc file. given a ".TCL" file as argument it runs ok. as in screenshot-1 but when i want to debug it gives the error "No Source Available for main at 0x83b269f" shown in screenshot-2.
View 1 Replies
View Related
Jun 21, 2010
I'm using ubuntu 9.04;I want to debug my project that comprises mutiple files.When I cd to the project folder and run the command "gdb rawusb_test",Once I tried the flag -g and changed the line "$(CC) -o $(PROG) $(OBJS) $(LIBS)" to "$(CC) -g -o $(PROG) $(OBJS) $(LIBS)", it didn't work!I want to trace the program "rawusb_test" line by line and see the parameters' values!Could you help me how I should debug this project or how the Makefile should be changed?
View 8 Replies
View Related
Nov 11, 2009
Now I have a project which include three directories /bin, /inc and /src. All of header files (*.h) are included in /inc and all of source(*.c) files are stored in /src, i.e. a.c, b.c, c.c..., the final generated executable file will locate in /bin. after compling with makefile, all of obj files will be generated in /src/obj like a.o, b.o, c.o, d....! Moreover an final.exe executable file will be generated in the /bin directory. Now if I want to debug it with GDB, how can I do it?
View 1 Replies
View Related
Apr 26, 2010
I want to know how can I debug shell scripts.Many a times I found while installing a software or a package some where some link to some file or dependency is broken.Some one suggested me use of -vx in the beginning I want to know what are the other methods to debug shell scripts.
View 1 Replies
View Related
Nov 11, 2010
I'm trying to debug the NTLM LWP module.
I added use LWP:ebug qw(+); to the top of my script, but I can't see any change.
I'm on Windows if that makes a difference (installed activeperl).
I know there are probably a million reasons why something perl won't work, but can anyone help me get debug logging showing up?
View 1 Replies
View Related
Nov 28, 2013
I have a machine where I dabble a bit with mono and .NET in my spare time. It's running Jessie and upgraded mono to 3.0.6 from 2.x and MonoDevelop to 4.0.
Rebuilt my webapp after upping the target platform to Mono .NET 4.5 and it works fine in the debugger.
When copying the app to the production folder (on the same machine) it will no longer start and apache's error log says:
Code: Select allSystem.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionA
ttribute' from assembly 'System.Web'.
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono
.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String vhost, Int32 p
ort, System.String path, Boolean defaultToRoot) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer:GetApplication
ForPath (string,int,string,bool)
[Code] ....
I understand from posts like this one: [URL] .....
...that Microsoft moved the ExtensionAttribute from System.Core.dll to mscorlib.dll in .NET 4.5. And that a [TypeForwardedTo] attribute is supposed to make this transparent.
I get this - but have no clue to how to make my webapp work? It does so under the debugger so it obviously does some magic.
View 2 Replies
View Related
Oct 8, 2014
I have Windows 7==>Oracle VB==>Ubuntu==>Gfortran. How do I debug fortran programs? I would like to have a step by step debugging.
View 1 Replies
View Related
May 6, 2010
After doing make I have the following questions? How can I see that the build is with debug information? What shall I do to build the release version? Can I have the release version in one directory and the debug version in another? I mean, when I change from debug to release, make will not overwrite the debug version.
View 7 Replies
View Related
Oct 17, 2010
I am trying to debug a src code that I download from the Internet.It is built with libtool. I am able to debug it with gdb, but i cannot debug it with eclipse.
View 3 Replies
View Related
Jun 4, 2011
Is it possible to debug remotely a java program with ddd (data display debugger)?
View 2 Replies
View Related
Jul 25, 2011
1 system info:
root@yes-desktop:/usr/src/eglibc-2.11.1/malloc# uname -a
Linux yes-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
2 gcc version
root@yes-desktop:/usr/src/eglibc-2.11.1/malloc# gcc -v
Using built-in specs.
[code]....
1 why cann't i debug the test? because i can't step into the "operator new" function.
View 2 Replies
View Related
Mar 4, 2010
I've been trying to work out a way to stop chunks of code being compiled using a variable in my makefile but can't work it out. What I mean is for example in my code I might have.
/****output comms portdata********/
printf("
debug comms port %d",ReadPort("ttys1);
I only wish this code to be compiled when I'm debugging. What I've tried is using #ifdef with
#ifdef COMM_PORT_DEBUG
printf("
debug comms port %d",ReadPort("ttys1);
#endif
Then in my make file I set COMM_PORT_DEBUG to 1 so
DEBUG_DEFS = COMM_PORT_DEBUG=1
I then thought I could put it into my in my link line
all: $(CC) $(CPFLAGS) $(DEBUG_DEFS) $(INC_PATHS) $(SOURCE) -o $(PROGRAM) $(LIB_DIRS) $(GAME_LIBS)
but this gives a
gcc: COMM_PORT_DEBUG=1: No such file or directory
is there a way to do this sort of thing? Or am I barking up the wrong tree?
View 1 Replies
View Related