Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Nejde zkompilovat include-0.4.2 prosim pomoc  (Přečteno 6078 krát)

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Nejde zkompilovat include-0.4.2 prosim pomoc
« kdy: 05 Dubna 2008, 19:28:20 »
Ahoj potrebuji nainstalovat tyto kniznice a pak jeste  jtag-waldeck.tar.bz2.
Ale pise to:
Kód: [Vybrat]
hypnos@Hypnos-laptop-Fujitsu:~/Plocha/Access point/Jtag/RTL8186/include-0.4.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /home/hypnos/Plocha/Access: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for hwbench installation... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Gawk jsem uz doinstaloval ale co s tim zbytkem nevim. Prosim poradite? diky moc.

Balicky se daji ztahnout odtud : http://www.czfree.net/forum/showthread.php?postid=159431#post159431
« Poslední změna: 05 Dubna 2008, 19:57:06 od hypnps »

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #1 kdy: 05 Dubna 2008, 21:38:10 »
Pošlete ještě config.log pro více detailů. Předpokládám, že build-essential máte nainstalováno ;)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #2 kdy: 05 Dubna 2008, 22:00:18 »
Ahoj, hele zkousim to ted na jinem PC ale stejne to nejde:
Kód: [Vybrat]
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for hwbench installation... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$


Config.log

Kód: [Vybrat]
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"include\" -DPACKAGE_TARNAME=\"include\" -DPACKAGE_VERSION=\"0.4.2\" -DPACKAGE_STRING=\"include\ 0.4.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"include\" -DVERSION=\"0.4.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 '
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
GENERATE_STDINT_H_FALSE=''
GENERATE_STDINT_H_TRUE='#'
HAVE_HWBENCH_FALSE=''
HAVE_HWBENCH_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/cap/Plocha/RTL8186/include-0.4.2/tools/missing --run makeinfo'
OBJEXT='o'
PACKAGE='include'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='include'
PACKAGE_STRING='include 0.4.2'
PACKAGE_TARNAME='include'
PACKAGE_VERSION='0.4.2'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='0.4.2'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/cap/Plocha/RTL8186/include-0.4.2/tools/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "include"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "include"
#define PACKAGE_STRING "include 0.4.2"
#define PACKAGE_TARNAME "include"
#define PACKAGE_VERSION "0.4.2"
#define STDC_HEADERS 1
#define VERSION "0.4.2"

configure: exit 0

Kód: [Vybrat]
cap@DreamPC:~$ sudo apt-get install build-essential
Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Reading state information... Hotovo
build-essential je již nejnovější verze.
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 242 neaktualizováno.
cap@DreamPC:~$

Dekuji.
« Poslední změna: 05 Dubna 2008, 22:02:45 od hypnps »

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #3 kdy: 05 Dubna 2008, 22:50:02 »
Btw ted to ./configure už proběhlo tak co je za problém? Zkoušel jste dát make a pak make install?
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #4 kdy: 05 Dubna 2008, 22:54:29 »
make :
Kód: [Vybrat]
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$ make
make: Nothing to be done for `all'.
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$


make install:
Kód: [Vybrat]
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$ make install
make[1]: Entering directory `/home/cap/Plocha/RTL8186/include-0.4.2'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/openwince" || mkdir -p -- "/usr/local/include/openwince"
mkdir: adresář `/usr/local/include/openwince' nelze vytvořit: Permission denied
make[1]: *** [install-nobase_openwinceincHEADERS] Error 1
make[1]: Leaving directory `/home/cap/Plocha/RTL8186/include-0.4.2'
make: *** [install-am] Error 2
cap@DreamPC:~/Plocha/RTL8186/include-0.4.2$

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #5 kdy: 05 Dubna 2008, 22:59:31 »
Zajmavá hláška... ještě jsem tuším neviděl. Když vypíšete obsah ls, je tam soubor Makefile? Měl by být protože v ./configure už to neřve, že by byla chyba. Podívat se taky do INSTALL.txt nebo README.txt jak se to má kompilovat. Závyslosti by měli bejt taky ok, to by řvalo ./configure zasejc...
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #6 kdy: 05 Dubna 2008, 23:06:24 »
jj makefile tam je a v Readme je toto:
Kód: [Vybrat]
include
=======

include package is a collection of the useful independent include files for
C/Assembler developers.

include package is released under BSD-style license. Please read COPYING
file for more info.

Feedback and contributions are welcome.

Homepage: http://openwince.sourceforge.net/include/


Installation instructions
-------------------------

1. Download and unpack include sources.
2. Run ./configure script. Please note that you are required to uninstall
   previous version of this package before running the configure script.
3. Run `make`.
4. Run `make install`.


Notes for Hitachi Workbench/IAR Compiler users
----------------------------------------------

You should use following parameters for the ./configure script:
--with-hwbench=PATH_TO_HWBENCH --host=hwbench
for example
--with-hwbench=/cygdrive/c/hwbench --host=hwbench

You could also use --includedir parameter for the ./configure script to install
the package under hwbench tree. For example:
--includedir=/cygdrive/c/hwbench/IAR/INC/

Prosim nemohl by jste si to stahnout a vyzkouset u sebe, zda budete mit stejny problem?

Dekuji.

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #7 kdy: 05 Dubna 2008, 23:57:22 »
No jediný co tam píšou je že se má před configure odinstalovat stará verze.... pošlete mi link at to nemusím hledat ;)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #8 kdy: 06 Dubna 2008, 09:49:09 »
Balicky se daji ztahnout odtud : http://www.czfree.net/forum/showthread.php?postid=159431#post159431

Include a ten Jtag

Diky.

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #9 kdy: 06 Dubna 2008, 12:57:36 »
Nemám time ani chuť to na tom foru hledat... prosím o přímý linky  ::)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #11 kdy: 06 Dubna 2008, 16:53:10 »
Tak co jak to vypada? Vsude pisou ze to musi jit.

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #12 kdy: 06 Dubna 2008, 17:44:20 »
No include jsem zkoušel... tam jsem skončil stejně jako vy... a nějak jsem nepobral proč se mu nelíbí make. To druhý hodilo nějakou chybu přímo v kodu...
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #13 kdy: 06 Dubna 2008, 19:36:52 »
hmm ja to ted zkousim v suse a tam jsem nasel include v rpm, takze to je vyresene, ale nejde me jeste ten jtag.


Kód: [Vybrat]
make:
hypnos@linux-7dse:~/Desktop/RTL8186/jtag-0.6-cvs-20051228> make
make all-recursive
make[1]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228'
Making all in libbrux
make[2]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make all-recursive
make[3]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
Making all in po
make[4]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
make libbrux.pot-update
make[5]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
: --default-domain=libbrux --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='ETC s.r.o.' \
--msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
if test -f ./libbrux.pot; then \
sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
rm -f libbrux.1po libbrux.2po libbrux.po; \
else \
rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
mv libbrux.po ./libbrux.pot; \
fi; \
else \
mv libbrux.po ./libbrux.pot; \
fi; \
}
make[5]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
test -z "" || make
touch stamp-po
make[4]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
make[4]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openwince -I/usr/include/openwince/device -I/usr/include/openwince/arm -I./../include -g -O2 -Wall -MT cmd_detectflash.o -MD -MP -MF ".deps/cmd_detectflash.Tpo" -c -o cmd_detectflash.o `test -f 'cmd/cmd_detectflash.c' || echo './'`cmd/cmd_detectflash.c; \
then mv -f ".deps/cmd_detectflash.Tpo" ".deps/cmd_detectflash.Po"; else rm -f ".deps/cmd_detectflash.Tpo"; exit 1; fi
cmd/cmd_detectflash.c: In function ‘cmd_detectflash_run’:
cmd/cmd_detectflash.c:48: error: too many arguments to function ‘detectflash’
make[4]: *** [cmd_detectflash.o] Error 1
make[4]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228'
make: *** [all] Error 2
hypnos@linux-7dse:~/Desktop/RTL8186/jtag-0.6-cvs-20051228>

make install:
Kód: [Vybrat]
hypnos@linux-7dse:~/Desktop/RTL8186/jtag-0.6-cvs-20051228> make install
Making install in libbrux
make[1]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
Making install in po
make[2]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
make libbrux.pot-update
make[3]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
: --default-domain=libbrux --directory=.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
--copyright-holder='ETC s.r.o.' \
--msgid-bugs-address='marcel@telka.sk'
test ! -f libbrux.po || { \
if test -f ./libbrux.pot; then \
sed -f remove-potcdate.sed < ./libbrux.pot > libbrux.1po && \
sed -f remove-potcdate.sed < libbrux.po > libbrux.2po && \
if cmp libbrux.1po libbrux.2po >/dev/null 2>&1; then \
rm -f libbrux.1po libbrux.2po libbrux.po; \
else \
rm -f libbrux.1po libbrux.2po ./libbrux.pot && \
mv libbrux.po ./libbrux.pot; \
fi; \
else \
mv libbrux.po ./libbrux.pot; \
fi; \
}
make[3]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
test -z "" || make
touch stamp-po
/bin/sh ../../tools/mkinstalldirs /usr/local/share
if test "libbrux" = "gettext-tools"; then \
/bin/sh ../../tools/mkinstalldirs /usr/local/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ./$file \
/usr/local/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /usr/local/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[2]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux/po'
make[2]: Entering directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openwince -I/usr/include/openwince/device -I/usr/include/openwince/arm -I./../include -g -O2 -Wall -MT cmd_detectflash.o -MD -MP -MF ".deps/cmd_detectflash.Tpo" -c -o cmd_detectflash.o `test -f 'cmd/cmd_detectflash.c' || echo './'`cmd/cmd_detectflash.c; \
then mv -f ".deps/cmd_detectflash.Tpo" ".deps/cmd_detectflash.Po"; else rm -f ".deps/cmd_detectflash.Tpo"; exit 1; fi
cmd/cmd_detectflash.c: In function ‘cmd_detectflash_run’:
cmd/cmd_detectflash.c:48: error: too many arguments to function ‘detectflash’
make[2]: *** [cmd_detectflash.o] Error 1
make[2]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/hypnos/Desktop/RTL8186/jtag-0.6-cvs-20051228/libbrux'
make: *** [install-recursive] Error 1
hypnos@linux-7dse:~/Desktop/RTL8186/jtag-0.6-cvs-20051228>

Proc to ale nejde v Ubuntu? to je teda divny. Jako fakt ze jo. Poradite prosim alespon co s tim jtagem ?
diky moc.

Martin - ViPEr*CZ*

  • Závislák
  • ***
  • Příspěvků: 3047
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #14 kdy: 06 Dubna 2008, 20:23:04 »
error: too many arguments to function ‘detectflash’ Todle je chyba v tý funkci detectflash... to se jedná o zásah do zdrojového kodu... to maj chybu autoři... nechápu proč to takhle nefachá...
No nevím proč to nejde přeložit v ubuntu. Vlastní kody mi fungujou v pohodě.

PS: pokud make vyhodí chybu, tak nedávejte make install... je to nesmyslné ;)
Open source is gold way... Mint 17.2, Debian 8.1 Jessie| Ubuntu Wiki (návody) | Google vyhledávač | Qt4 návody

Hypnos

  • Aktivní člen
  • *
  • Příspěvků: 197
Re: Nejde zkompilovat include-0.4.2 prosim pomoc
« Odpověď #15 kdy: 06 Dubna 2008, 20:50:07 »
Ano, a pujde to nejak vyresit?

 

Provoz zaštiťuje spolek OpenAlt.