I can't compile with gcc Solaris 2.6
I downloaded the binary gcc-3.0.1-sol26-sparc-local and I used the pkgadd command, but when I want to compile the tcpwrappers, the next messages is showed.
ld: fatal: file values-Xa.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to tcpd
collect2: ld returned 1 exit status
and my variables are:
CC=gcc
EDITOR=vi
HOME=/export/home/usr/vreyes
HZ=100
LOGNAME=vreyes
MAIL=/var/mail/vreyes
MANPATH=/usr/local/man:/usr/man:/usr/local/X11/man
PAGER=less
PATH=/usr/local/bin:/bin:/usr/ccs/bin:/etc:/usr/etc:/usr/local/X11/bin:/usr/ucb:/usr/openwin/bin:/usr/local/etc:/usr/sbin
PS1=#
PWD=/export/home/usr/vreyes/tcp_wrappers_7.6
SHELL=/bin/csh
TERM=xterm
TZ=Mexico/General
USER=vreyes
XAUTHORITY=/home/vreyes/.Xauthority
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/X11/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib
first check if values-Xa.o exists ? I think this is where you'll find it : /usr/ccs/lib/
I suspect your problem is that if you are using Makefiles etc they do not contain the full PATH to this binary/lib hence your error.
If the above fails or is not appropriate check out http://gcc.gnu.org or do a search say using yahoo for "values-Xa.o" & "gcc" lots of hits !
Similar Messages
-
Bad performance of PARI when compiling with GCC for SPARC 4.2.0
Hi,
I've compiled pari (2.3.3) with gcc 4.2.0 and with an old gcc 3.3.2 on a Sun Fire V240 and Solaris 10.
The performance of pari compiled with gcc 4.2.0 is terrible. I've tried it with '-O3 -fast' and without this flags with the same result.
First compiled with gcc 3.3.2 without any special CFLAGS and run make bench:
* Testing objets for gp-sta..TIME=4 for gp-dyn..TIME=4
* Testing analyz for gp-sta..TIME=82 for gp-dyn..TIME=80
* Testing number for gp-sta..TIME=63 for gp-dyn..TIME=62
* Testing polyser for gp-sta..TIME=19 for gp-dyn..TIME=19
* Testing linear for gp-sta..TIME=30 for gp-dyn..TIME=29
* Testing elliptic for gp-sta..TIME=50 for gp-dyn..TIME=51
* Testing sumiter for gp-sta..TIME=45 for gp-dyn..TIME=47
* Testing graph for gp-sta..TIME=25 for gp-dyn..TIME=25
* Testing program for gp-sta..TIME=94 for gp-dyn..TIME=94
* Testing trans for gp-sta..TIME=228 for gp-dyn..TIME=225
* Testing nfields for gp-sta..TIME=434 for gp-dyn..TIME=433
+++ Total bench for gp-sta is 726
+++ Total bench for gp-dyn is 722
Then compiled with gcc 4.2.0 again without any special flags and run make bench:
* Testing objets for gp-sta..TIME=4 for gp-dyn..TIME=4
* Testing analyz for gp-sta..TIME=82 for gp-dyn..TIME=83
* Testing number for gp-sta..TIME=62 for gp-dyn..TIME=65
* Testing polyser for gp-sta..TIME=19 for gp-dyn..TIME=19
* Testing linear for gp-sta..BUG [1686975] for gp-dyn..BUG [1608146]
* Testing elliptic for gp-sta..TIME=50 for gp-dyn..TIME=52
* Testing sumiter for gp-sta..TIME=51 for gp-dyn..TIME=50
* Testing graph for gp-sta..TIME=28 for gp-dyn..TIME=28
* Testing program for gp-sta..TIME=98 for gp-dyn..TIME=97
* Testing trans for gp-sta..BUG [613000] for gp-dyn..BUG [606558]
* Testing nfields for gp-sta..BUG [3648091] for gp-dyn..BUG [3716170]
+++ [BUG] Total bench for gp-sta is 3029987
+++ [BUG] Total bench for gp-dyn is 2958336
Do anybody know this problem or can tell me what the problem could be?
Thanks!!
Rainer W.Here are the compiler options I used to compile it with gcc4.
C compiler is /usr/local/gcc4/gcc/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
Executable linker is /usr/local/gcc4/gcc/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
Dynamic Lib linker is /usr/local/gcc4/gcc/bin/gcc -shared -mimpure-text $(CFLAGS) $(DLCFLAGS) -Wl,-G,-h,$(LIBPARI_SONAME)
If I use the -fast option I get the same result may be a little bit worse.
Here are some compilation lines:
Making gp in Osolaris-sparcv9
make[2]: Entering directory `/no_backup/pari/pari-2.3.3/Osolaris-sparcv9'
File ../src/funclist not changed.
../config/genkernel ../src/kernel/sparcv8_micro/asm0-common.h ../src/kernel/sparcv8_micro/asm0.h > parilvl0.h
cat ../src/kernel/none/tune.h ../src/kernel/none/int.h ../src/kernel/none/level1.h > parilvl1.h
cat parilvl0.h parilvl1.h > pariinl.h
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp.o ../src/gp/gp.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp_rl.o ../src/gp/gp_rl.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o whatnow.o ../src/gp/whatnow.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I/usr/openwin/include -o plotX.o ../src/graph/plotX.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o anal.o ../src/language/anal.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o compat.o ../src/language/compat.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o default.o ../src/language/default.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o errmsg.o ../src/language/errmsg.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o es.o ../src/language/es.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o init.o ../src/language/init.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o intnum.o ../src/language/intnum.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o members.o ../src/language/members.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o sumiter.o ../src/language/sumiter.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o aprcl.o ../src/modules/aprcl.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o elldata.o ../src/modules/elldata.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o elliptic.o ../src/modules/elliptic.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o galois.o ../src/modules/galois.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o groupid.o ../src/modules/groupid.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o kummer.o ../src/modules/kummer.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o mpqs.o ../src/modules/mpqs.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o nffactor.o ../src/modules/nffactor.c
/usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o part.o ../src/modules/part.c -
Programming in C compiling with gcc
Hi there,
I've been working on this for a few days but can't seem to figure it out. I am taking an intro to programming class in which we are supposed to write command line C programs, to be compiled with gcc and tested on Linux's, specifically using Kate.
I have installed Xcode and the Command Line Tools and have checked in xcode preferences and confirmed the install of command line tools worked. For some reason my "developer" folder is not where it should be, in usr.
I know that v4 of Xcode works differently in this way but I am confused as to what this means for me and trying to write in C on my mac!
Thanks everyoneXcode is a plain old OS X application now.
There is no developer folder. -
Help!Apache compiling with gcc in Solaris 10
Greetings
I am having problems with Apache 1.3.
When I am running the script ./src/Configure my output is:
#./Configure
Using config file: Configuration
Creating Makefile
+ configured for Solaris 2100 platform
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
./helpers/TestCompile: make: not found
+ using builtin Expat
./Configure: make: not found
+ checking sizeof various data types
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
./helpers/TestCompile: make: not found
+ doing sanity check on compiler and options
./helpers/TestCompile: make: not found
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
./helpers/TestCompile: make: not found
============= End of Error Report =============
Aborting!
I am root, my PATH is
/usr/bin:/usr/ucb:/etc:/usr/local/bin:/opt/netscape:/usr/css/bin/:/bin:/usr/openwin/bin:/usr/sbin:/
I am missing something stupid, I know but I can't find it!!!!Help please I am a newbie.
I am curious. Has anyone been able to compile succesfully apache server with gcc in Solaris 10?
Thanks,Thanks,
It was only that.!!!
But now I have the following problem, I can't create executables when I type make. The output is:
when I am in the src/folder
#make
===> regex
<=== regex
===> os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
In file included from /usr/include/sys/wait.h:24,
from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from ../../include/ap_config.h:1096,
from os.c:21:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `os.o'
Current working directory /web-download/apache_1.3.33/src/os/unix
*** Error code 1
The following command caused the error:
for i in regex os/unix ap main lib modules; do \
echo "===> $i"; \
case ".Solaris 2100" in \
.OS390 | .TPF) ( cd $i && make SDP='' OPTIM='') || exit 1;; \
*) ( cd $i && make SDP='' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
esac; \
echo "<=== $i"; \
done
make: Fatal error: Command failed for target `subdirs'
but when I am typing one step up is.
===> src
===> src/regex
<=== src/regex
===> src/os/unix
gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
In file included from /usr/include/sys/wait.h:24,
from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from ../../include/ap_config.h:1079,
from os.c:21:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from ../../include/ap_config.h:1096,
from os.c:21:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `os.o'
Current working directory /web-download/apache_1.3.33/src/os/unix
*** Error code 1
The following command caused the error:
for i in regex os/unix ap main lib modules; do \
echo "===> src/$i"; \
case ".Solaris 2100" in \
.OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
*) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
esac; \
echo "<=== src/$i"; \
done
make: Fatal error: Command failed for target `subdirs'
Current working directory /web-download/apache_1.3.33/src
*** Error code 1
The following command caused the error:
case "xi86pc-sun-solaris2.2100" in \
x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
esac; \
cd ./src; make SDP=src/ all
make: Fatal error: Command failed for target `build-std'
Current working directory /web-download/apache_1.3.33
*** Error code 1
The following command caused the error:
make -f ./Makefile root= build-std
make: Fatal error: Command failed for target `build'
I am newbie with Solaris and gcc so I have no so much idea what is missing there.
Thanks,
Juan -
Debugging servers with gdb and compiled with gcc
I have trouble debugging my servers on Solaris.
Setup: Solaris 8 (2.8?)
[user@ ~]$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/specs
Configured with: ../configure disable-nls with-as=/usr/ccs/bin/as --with-
ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.2.3
[ ~]$ gdb -v
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
I can run the server, debug and step through the code, inspecting variables. But when i
type "cont" to continue and let the server finish, what heppens is:
The server finishes (bec i get my result back to the client)
GDB hangs saying "Continue" and i wont get the GDB-promt back.
I have to kill the gdb from the unixprompt
Question: Has anyone tried to run and debug tuxedo servers using gcc and gdb?
any input is of value even if someone has had success on linux with gcc and gdb.
My guess is that it has to do with the threading of gdb and tuxedo that will not match.
Mats Gårdstad Friberg
Datarutin AB Swedenoptions=('debug' 'staticlibs')
these are the options i have set in the PKGBUILD, i might try giving CFLAGS directly, but compiling libc on this old dualcore takes quite a bit of time unfortunately -
Kdegraphics-3.2.2 needs a patch to compile with gcc-3.4
Hi,
I've tried to compile kdegraphics-3.2.2 with gcc-3.4 without succes, even after changing things in the PKGBUILD file. Just before I gave up I found this patch :-)
Patch can be found here:
http://bugs.gentoo.org/show_bug.cgi?id=48596
I've downloaded the attachment and renamed it to 'v3.2.2-with-gcc-3.4.patch'.
Just add the following line in PKGBUILD after 'cd $startdir/src/$pkgname-$pkgver'
patch -p3 < ${startdir}/v3.2.2-with-gcc-3.4.patchmake it an bug report
-
Cannot include Mfreadwrite.lib when compiling with gcc
My makefile contains the Mfreadwrite.lib, but the liking fails. First it says it cannot find the lib, but then I copy it (.DLL and .LIB) in my local folder, but then it complains that the file format is unknown.
Does anyone know what this issue might be?
OS: Windows 8.1 Pro
Compiler: Mingw32 gcc
Thanks
Hi,
According to your description, I don't think this is Windows problem. It's more relate app development. You can access to MSDN Forum for further assistance with this problem:
https://social.msdn.microsoft.com/Forums/en-US/home
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Can't compile with any layers hidden on timeline
Can someone explain what could possibly be going on?
Running CS4 I have a .fla that was compiling fine yesterday. Today I made some slight additions and it wouldn't compile, giving errors saying that various things were undefined. I was starting to go nuts until finally I made all layers in the timeline visible and compiled again. Now it compiles fine.
Just in case it was something Flash itself I created a new file, hid some layers and compiled and it was fine. So it's not the application, just this particular file.
What could be doing this? Why can't I compile with hidden layers?
Thanks for any help.Hi fizbeam,
This happened to me a while ago!
It's annoying.. somewhere in the publish settings theres a checkbox marked 'dont export hidden frames' and if it's checked it'll cause this to happen. -
Can't compile with QT4 anymore
Hi,
Since last upgrade I can't compile my qt4 apps with KDevelop or QDevelop. It says something like :
make: *** No rules to build target « /opt/qt4/mkspecs/linux-g++/qmake.conf », required by « Makefile ». Stopping.
The qt-config tool does not exist anymore. There is a qtconfig one but, doesn't seem to be helping.
I know that the files in the the qt4 package have been moved from /opt/qt4 to /usr/, but still I don't know what to do.
I'm stuck !The fact is I cannot compile ANYTHING in QT4 !
Let's take an example. I want to compile QPaddy (you can find it on qt-apps.org).
I set the vars (which doesn't seem to have any effect):
export QTDIR=/usr/share/qt4
export QMAKESPEC=/usr/share/qt4/mkspecs/linux-g++
export QT_LIBRARY_PATH=/usr/include/Qt
I try to compile QPAddy :
qmake qpaddy.pro
make
Here is what I get :
cd src/ && make -f Makefile
make[1]: entrant dans le répertoire « /root/docs/qpaddy0876/src »
make[1]: *** Pas de règle pour fabriquer la cible « /usr/lib/qt-3.3/mkspecs/default/qmake.conf », nécessaire pour « Makefile ». Arrêt.
make[1]: quittant le répertoire « /root/docs/qpaddy0876/src »
make: *** [sub-src-make_default] Erreur 2
And now the MakeFile :
# Makefile for building: qpaddy
# Generated by qmake (2.01a) (Qt 4.3.2) on: mar. nov. 6 17:49:17 2007
# Project: qpaddy.pro
# Template: subdirs
# Command: /usr/bin/qmake -unix -o Makefile qpaddy.pro
first: make_default
MAKEFILE = Makefile
QMAKE = /usr/bin/qmake
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
COPY = cp -f
COPY_FILE = $(COPY)
COPY_DIR = $(COPY) -r
INSTALL_FILE = install -m 644 -p
INSTALL_PROGRAM = install -m 755 -p
INSTALL_DIR = $(COPY_DIR)
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
SUBTARGETS = \
sub-src
src//$(MAKEFILE):
@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
sub-src-qmake_all: FORCE
@$(CHK_DIR_EXISTS) src/ || $(MKDIR) src/
cd src/ && $(QMAKE) src.pro -unix -o $(MAKEFILE)
sub-src: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE)
sub-src-make_default: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE)
sub-src-make_first: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) first
sub-src-all: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) all
sub-src-clean: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) clean
sub-src-distclean: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) distclean
sub-src-install_subtargets: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) install
sub-src-uninstall_subtargets: src//$(MAKEFILE) FORCE
cd src/ && $(MAKE) -f $(MAKEFILE) uninstall
Makefile: qpaddy.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
/usr/share/qt4/mkspecs/common/unix.conf \
/usr/share/qt4/mkspecs/common/linux.conf \
/usr/share/qt4/mkspecs/qconfig.pri \
/usr/share/qt4/mkspecs/features/qt_functions.prf \
/usr/share/qt4/mkspecs/features/qt_config.prf \
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
/usr/share/qt4/mkspecs/features/default_pre.prf \
/usr/share/qt4/mkspecs/features/release.prf \
/usr/share/qt4/mkspecs/features/default_post.prf \
/usr/share/qt4/mkspecs/features/qt.prf \
/usr/share/qt4/mkspecs/features/unix/thread.prf \
/usr/share/qt4/mkspecs/features/moc.prf \
/usr/share/qt4/mkspecs/features/warn_on.prf \
/usr/share/qt4/mkspecs/features/resources.prf \
/usr/share/qt4/mkspecs/features/uic.prf \
/usr/share/qt4/mkspecs/features/yacc.prf \
/usr/share/qt4/mkspecs/features/lex.prf
$(QMAKE) -unix -o Makefile qpaddy.pro
/usr/share/qt4/mkspecs/common/g++.conf:
/usr/share/qt4/mkspecs/common/unix.conf:
/usr/share/qt4/mkspecs/common/linux.conf:
/usr/share/qt4/mkspecs/qconfig.pri:
/usr/share/qt4/mkspecs/features/qt_functions.prf:
/usr/share/qt4/mkspecs/features/qt_config.prf:
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
/usr/share/qt4/mkspecs/features/default_pre.prf:
/usr/share/qt4/mkspecs/features/release.prf:
/usr/share/qt4/mkspecs/features/default_post.prf:
/usr/share/qt4/mkspecs/features/qt.prf:
/usr/share/qt4/mkspecs/features/unix/thread.prf:
/usr/share/qt4/mkspecs/features/moc.prf:
/usr/share/qt4/mkspecs/features/warn_on.prf:
/usr/share/qt4/mkspecs/features/resources.prf:
/usr/share/qt4/mkspecs/features/uic.prf:
/usr/share/qt4/mkspecs/features/yacc.prf:
/usr/share/qt4/mkspecs/features/lex.prf:
qmake: qmake_all FORCE
@$(QMAKE) -unix -o Makefile qpaddy.pro
qmake_all: sub-src-qmake_all FORCE
make_default: sub-src-make_default FORCE
make_first: sub-src-make_first FORCE
all: sub-src-all FORCE
clean: sub-src-clean FORCE
distclean: sub-src-distclean FORCE
-$(DEL_FILE) Makefile
install_subtargets: sub-src-install_subtargets FORCE
uninstall_subtargets: sub-src-uninstall_subtargets FORCE
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
install: install_subtargets FORCE
uninstall: uninstall_subtargets FORCE
FORCE:
Any idea ? -
Hi,
I am trying to convert a standalone 'C' library code consisting of ~ 100 h files + 200 c files into 'swc' and run it.
The starting point is a c file called jaz.c.
If I compile using command --> gcc jaz.c -O3 -Wall -swc -o jaz.swc, the swc file which is generated is very small size of 141 kb, and the application does not run.
So I decided to change the strategy. I used the following command first to create '.o' files -->
gcc -I. xfname.c //'xfname.c' gets converted to 'xfname.o'
-g -c //various compiler options starts
-DW_NOTACC
-DSSA_CPU_X86_64=1
-DSSA_CPU_LITTLEENDIAN=1
-DSSA_CPU_64BIT_LONG=1
-DSSA_CPU_64BIT_PTR=1
-DSSA_OS_UNIX=1
-DSSA_OS_LINUX_ANY=1
-DSSA_OS_UNIX_LAX=1
-D_XOPEN_SOURCE=500
-D_BSD_SOURCE
-D_SVID_SOURCE
-DEJSAS=1
-DFMTDLL_COMPILE=1
-IC:/FormatDocs/Standalone/TKLAX/h //Path to various 'h' files/
-IC:/FormatDocs/Standalone/TKPOS/h // -- " " ---
-IC:/FormatDocs/Standalone/TKPKT/h
-IC:/FormatDocs/Standalone/LAX/h
-IC:/FormatDocs/Standalone/A64/h
-IC:/FormatDocs/Standalone/UNX/h
After running the command I get ~ 200 .o file.
Then I used the command
gcc -I. jaz.c
xfload.o
xfname.o
-- //All 200 '.o' files included here
-O3 -Wall -swc -o jaz.swc
By this strategy the compiler generates a huge swc file of ~ 515 kb.
But when I run this application the Flash AS error occours
TypeError: Error #1006: value is not a function.
at cmodule.jaz::FSM_format/work()[1344.achacks.as:68077]
at <anonymous>()[1344.achacks.as:3341]
at <anonymous>()[1344.achacks.as:3902]
I wanted to ask 2 questions.
- Is this way of 2 stage gcc compiling (1st gcc creates .o file, and next gcc creates swc) correct.
- What is the meaning of this run time error "value is not a function."
Thanks,
-YogenAlright that did work for what I intended it to do - i.e. have gcc and make available in /usr/bin and functionning correctly. Now Xcode in itself however ... crashes everytime upon opening. Not that I need it now, but I certainly will someday - and not in that long a time, in all probability. It says it could not load the iPhone emulator plugin - and it is just the last of many errors, it says. Check Xcode's crash details out here. Thanks a lot already though !
-
Compiling with GCC/makefile : apparent link edition fail
Hello all Apple developers ,
I have a slight GCC compiling issue (actually, a makefile one) : it says it can't find the header files for the standard llibraries, stdio and stdlib. What's up with that ? What am I missing to get it working ? I know I had to plaay around with the system a bit to get makefile anyway, but it should work ... Thanks in advance for your help !Alright that did work for what I intended it to do - i.e. have gcc and make available in /usr/bin and functionning correctly. Now Xcode in itself however ... crashes everytime upon opening. Not that I need it now, but I certainly will someday - and not in that long a time, in all probability. It says it could not load the iPhone emulator plugin - and it is just the last of many errors, it says. Check Xcode's crash details out here. Thanks a lot already though !
-
Hello
I was just about to compile a version of wine, as it works best with a program I am running.
However, it required 32 bit devel libraries, so I installed multilib-devel.
./configure worked fine, however, running the "make" command posts command not found.
Is there a symlink I have to make to get 'make' to appear as a command, so i can continue to compile wine?This might actually help:
pacman -S make
Greetings
matse -
Can't compile with Javac in jdk 1.2.1
Hi all,
I used javac to compile "helloworld.java" in jdk 1.2.1 but It didn't "helloworld.class" file and it also didn't alert.
my system platform Is:Windows 2000 server
Jdk:1.2.1
anyone help me to resolve my problem.
thanks a lot
anhntAnhnt,
If I understand you correctly, you say that you tried to compile "helloworld.java" using "javac", and it didn't create a "helloworld.class" file and you got no error messages, right?
Are you using an IDE? Or did you manually enter the "javac" command via a command window? What was the exact command you entered?
Good Luck,
Avi. -
Can't compile with -renderingdiagnostics
Hello
getting contradictory messages here when trying to compile using the PFI in terminal
'/Applications/Adobe Flash CS5/PFI/bin/pfi' -package -renderingdiagnostics -target ipa-debug -provisioning-profile "/Users/john.doe/Documents/Certificates/JohnDoeLearningPP.mobileprovision" -storetype pkcs12 -keystore "/Users/john.doe/Documents/Certificates/iPhoneDeveloperJohnDoe.p12" -storepass password "HardwareRender.ipa" "HardwareRender-app.xml" "HardwareRender.swf"
I get an error
expected -target instead of -renderingdiagnostics
But in the Adobe packerforiphone_devguide.pdf it says
The -renderingdiagnostics flag must directly follow the -package flag.
Anybody else come up against this?Thanks for the responce, however same problem ocurrs I'm afraid
osdtdes01:~ john.doe$ java -jar '/Applications/Adobe Flash CS5/PFI/lib/pfi.jar' -package -renderingdiagnostics -target ipa-debug -provisioning-profile "/Users/john.doe/Documents/Certificates/JohnDoeLearningPP.mobileprovision" -storetype pkcs12 -keystore "/Users/john.doe/Documents/Certificates/iPhoneDeveloperJohnDoe.p12" -storepass password "HardwareRender.ipa" "HardwareRender-app.xml" "HardwareRender.swf"
expected -target instead of -renderingdiagnostics
usage:
pfi -help
pfi -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc ) -provisioning-profile <profile> SIGNING_OPTIONS <output-package> ( FILE_OPTIONS | <input-package> )
pfi -version
SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -alias <aliasName> )? ( -keypass <pass> )? ( -providerName <name> )?
FILE_OPTIONS: <app-desc> <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))* -
Who can help me with my solaris version problem?
Hi all,
because NOBODY answer me on that topic
http://forum.java.sun.com/thread.jspa?threadID=5195679&tstart=0
and that is the first time that happend to me, I will ask, what is the reason for this? Is this question wrong in this forum? Or is the attached output to big?
I appreciate any hint, what help me to run this application on this older machine.
Thanks in advance
ArnoHi Paul,
the version of the development machine is
SunOS sun4 5.8 Generic 108528-24 sun4u sparc SUNW,Ultra-80
regards
Arno
Maybe you are looking for
-
Hello, I have a very serious problem during our migration to Oracle 11. After installing the database, creating the owb repository schema and starting the owb client, I tried to create a simple table and got a null pointer exception (see below). I al
-
Incorrect time in calendar-view, but normal in event-view
If compare two different views of event it will different. Why? I think it's bug.
-
Burning .aif files on a windows pc.
Hi there, my friend just recently recorded her first album and had it mastered. The guy that mastered it was using a mac and my friend wants to make copies of it herself. The file format she was given is .aif but her computer won't let her add it to
-
I have tried 3 times to restore my itouch to update to ios 5.0 and now I am getting error message. "ipod could not be restored. an unknown error occurred. error 1611" ?!?! does anyone know how to fix this?? I now have no access to my ipod. it is
-
Hi, I have installed the jboss-4.0.0 and i installed the openCRX as per the installation guide. When i am accessing such us with url http://10.10.0.76:4040/opencrx-core-CRX/Login.jsp can able to view the above url.Note: userid-guest, pwd-guest. but i