Skip to content

Commit

Permalink
Tweaking makefile and fixing a couple of errors that conspicuously po…
Browse files Browse the repository at this point in the history
…pped up when project was compiled on Alex's laptop.

git-svn-id: https://subversion.cs.uiuc.edu/svn/bang/eoh2009@86 69d76c3e-0761-0410-948c-9895a8bb34fc
  • Loading branch information
asjacob2 committed Feb 1, 2009
1 parent 327a28f commit edd5ae0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -9,7 +9,7 @@ CC=gcc
OBJEXT=.o
SRCEXT=.c

COPTS=-Wall -Wextra -Werror -g -D_REENTRANT -lpthread
COPTS=-Wall -Wextra -Werror -fPIC -g -D_REENTRANT -lpthread

GTKOPTS=`pkg-config --cflags --libs gtk+-2.0 --libs openssl --libs uuid --libs sqlite3 --libs gthread-2.0`
LOBJS=bang-com$(OBJEXT) \
Expand Down
1 change: 1 addition & 0 deletions src/app/bang-machine-utils.c
Expand Up @@ -12,6 +12,7 @@ void BMACHINE_error_dialog(char *error) {
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
"%s",
error);

}
Expand Down
2 changes: 1 addition & 1 deletion src/base/bang-module.c
Expand Up @@ -139,7 +139,7 @@ BANG_module* BANG_load_module(char *path) {
BANG_send_signal(BANG_MODULE_ERROR,&args,1);
#ifdef BDEBUG_1
fprintf(stderr,"Could not find the module.\n");
fprintf(stderr,args.args);
//fprintf(stderr,(char*)args.args);
fprintf(stderr,"\n");
#endif
return NULL;
Expand Down

0 comments on commit edd5ae0

Please sign in to comment.