[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: hierarchy and refdes_renum



Hi Anthony,

Please find config.log attached.

Thanks,
Alex.


On 06/22/2009 04:03 PM, Anthony Shanks wrote:
Odd, I thought I did a configure/make/make install before I released
to to make sure it compiles platform independent.

What did you configure line look like and can you email me your
config.log? I'll get back to you in a few hours since I'm still at
work.

On Mon, Jun 22, 2009 at 3:47 PM, A.Burinskiy<alexbour@xxxxxxxxx>  wrote:
Hi Anthony,

Thank you very much for the spNet. I'm trying to compile your tool. The
result is below:

$ make
Making all in src
make[1]: Entering directory
`/home/alexb/Download/geda/spnet/spnet-0.9.1/src'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spnet\"
-DVERSION=\"0.8\" -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_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1
-DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1
-DHAVE_STRSTR=1 -I. -I../include -Wall -g -O2 -MT io.o -MD -MP -MF
.deps/io.Tpo -c -o io.o io.c
In file included from io.c:15:
../include/str.h:14: error: conflicting types for ‘getline’
/usr/include/stdio.h:653: note: previous declaration of ‘getline’ was here
make[1]: *** [io.o] Error 1
make[1]: Leaving directory `/home/alexb/Download/geda/spnet/spnet-0.9.1/src'
make: *** [all-recursive] Error 1

Could you please give a hint what is wrong? I'm using F11, x86_64.

Thanks,
Alex.


On 06/22/2009 03:33 PM, Anthony Shanks wrote:
What is your end goal here? Just to have hierarchical schematics or do
be able to produce a hierarchical netlist? IMHO hierarchical
schematics in gschem work perfectly fine, it's netlisting them that as
of right now is very hackery/broken which is why I started a new
netlister spNet. You can download the latest version here
http://spnet.code-fusion.net but be warned the documentation is very
shotty/inaccurate since I haven't officially released it yet. Refer to
my last post on this list for more details.

On Sat, Jun 20, 2009 at 2:39 AM, Christoph Lechner<cl0023@xxxxxxx>    wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm just trying around with hierarchy. This is my first hierarchy
design, and some questions remained open. I used the gTAG example as a
starting point.

What symbols do you use to 'declare' the pins in the subcircuit? I used
the in-1.sym and out-1.sym, but using the refdes for the pin identifier
looks like a hack to me. Is the used of these two symbols still state of
the art or are there better ways to follow?
So when renumbering the parts in the file, refdes_renum attaches a 1
suffix to all the refdes attributes of the in-1 and out-1 symbols on the
sheet, which is just a mess. Some Perl warnings pop up on the command
line, BTW.

What can I do to fix it?

I run the outdated gEDA suite 1.4.0, but I md5-verified that in-1.sym,
out-1.sym and refdes_renum are the same in the newest 1.4.3 release.

CU
- - Christoph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKPK5TWo2QgtqY4K8RAti1AJ0RMEC0h2rsUvEKnXhVL+ebRrZtMgCggxiP
OZN6KKI5RRXeZz9sXfMpPKM=
=4tCj
-----END PGP SIGNATURE-----


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = bazilik
uname -m = x86_64
uname -r = 2.6.29.4-167.fc11.x86_64
uname -s = Linux
uname -v = #1 SMP Wed May 27 17:27:08 EDT 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib64/ccache
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /home/username/bin
PATH: /usr/java/jre1.6.0_14//bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1759: checking for a BSD-compatible install
configure:1815: result: /usr/bin/install -c
configure:1826: checking whether build environment is sane
configure:1869: result: yes
configure:1897: checking for a thread-safe mkdir -p
configure:1936: result: /bin/mkdir -p
configure:1949: checking for gawk
configure:1965: found /usr/bin/gawk
configure:1976: result: gawk
configure:1987: checking whether make sets $(MAKE)
configure:2008: result: yes
configure:2246: checking for gcc
configure:2262: found /usr/lib64/ccache/gcc
configure:2273: result: gcc
configure:2511: checking for C compiler version
configure:2518: gcc --version >&5
gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2521: $? = 0
configure:2528: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i586 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC) 
configure:2531: $? = 0
configure:2538: gcc -V >&5
gcc: '-V' option must have argument
configure:2541: $? = 1
configure:2564: checking for C compiler default output file name
configure:2591: gcc    conftest.c  >&5
configure:2594: $? = 0
configure:2632: result: a.out
configure:2649: checking whether the C compiler works
configure:2659: ./a.out
configure:2662: $? = 0
configure:2679: result: yes
configure:2686: checking whether we are cross compiling
configure:2688: result: no
configure:2691: checking for suffix of executables
configure:2698: gcc -o conftest    conftest.c  >&5
configure:2701: $? = 0
configure:2725: result: 
configure:2731: checking for suffix of object files
configure:2757: gcc -c   conftest.c >&5
configure:2760: $? = 0
configure:2783: result: o
configure:2787: checking whether we are using the GNU C compiler
configure:2816: gcc -c   conftest.c >&5
configure:2822: $? = 0
configure:2839: result: yes
configure:2844: checking whether gcc accepts -g
configure:2874: gcc -c -g  conftest.c >&5
configure:2880: $? = 0
configure:2979: result: yes
configure:2996: checking for gcc option to accept ISO C89
configure:3070: gcc  -c -g -O2  conftest.c >&5
configure:3076: $? = 0
configure:3099: result: none needed
configure:3128: checking for style of include used by make
configure:3156: result: GNU
configure:3181: checking dependency style of gcc
configure:3272: result: gcc3
configure:3303: checking how to run the C preprocessor
configure:3343: gcc -E  conftest.c
configure:3349: $? = 0
configure:3380: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3386: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "spnet"
| #define VERSION "0.8"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3419: result: gcc -E
configure:3448: gcc -E  conftest.c
configure:3454: $? = 0
configure:3485: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3491: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "spnet"
| #define VERSION "0.8"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3529: checking for grep that handles long lines and -e
configure:3603: result: /bin/grep
configure:3608: checking for egrep
configure:3686: result: /bin/grep -E
configure:3691: checking for ANSI C header files
configure:3721: gcc -c -g -O2  conftest.c >&5
configure:3727: $? = 0
configure:3826: gcc -o conftest -g -O2   conftest.c  >&5
configure:3829: $? = 0
configure:3835: ./conftest
configure:3838: $? = 0
configure:3855: result: yes
configure:3879: checking for sys/types.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for sys/stat.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for stdlib.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for string.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for memory.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for strings.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for inttypes.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for stdint.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3879: checking for unistd.h
configure:3900: gcc -c -g -O2  conftest.c >&5
configure:3906: $? = 0
configure:3922: result: yes
configure:3940: checking for stdlib.h
configure:3946: result: yes
configure:3940: checking for string.h
configure:3946: result: yes
configure:4077: checking whether struct tm is in sys/time.h or time.h
configure:4107: gcc -c -g -O2  conftest.c >&5
configure:4113: $? = 0
configure:4128: result: time.h
configure:4145: checking for stdlib.h
configure:4151: result: yes
configure:4280: checking for GNU libc compatible malloc
configure:4314: gcc -o conftest -g -O2   conftest.c  >&5
configure:4317: $? = 0
configure:4323: ./conftest
configure:4326: $? = 0
configure:4342: result: yes
configure:4375: checking for stdlib.h
configure:4381: result: yes
configure:4510: checking for GNU libc compatible realloc
configure:4544: gcc -o conftest -g -O2   conftest.c  >&5
configure:4547: $? = 0
configure:4553: ./conftest
configure:4556: $? = 0
configure:4572: result: yes
configure:4604: checking for strftime
configure:4660: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:49: warning: conflicting types for built-in function 'strftime'
configure:4666: $? = 0
configure:4684: result: yes
configure:4772: checking for strchr
configure:4828: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:50: warning: conflicting types for built-in function 'strchr'
configure:4834: $? = 0
configure:4852: result: yes
configure:4772: checking for strdup
configure:4828: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:51: warning: conflicting types for built-in function 'strdup'
configure:4834: $? = 0
configure:4852: result: yes
configure:4772: checking for strrchr
configure:4828: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:52: warning: conflicting types for built-in function 'strrchr'
configure:4834: $? = 0
configure:4852: result: yes
configure:4772: checking for strstr
configure:4828: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c:53: warning: conflicting types for built-in function 'strstr'
configure:4834: $? = 0
configure:4852: result: yes
configure:5009: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on bazilik

config.status:620: creating Makefile
config.status:620: creating src/Makefile
config.status:620: creating include/Makefile
config.status:811: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_strchr=yes
ac_cv_func_strdup=yes
ac_cv_func_strftime=yes
ac_cv_func_strrchr=yes
ac_cv_func_strstr=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_struct_tm=time.h
am_cv_CC_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run tar'
AUTOCONF='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run automake-1.10'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"spnet\" -DVERSION=\"0.8\" -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_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/username/Download/geda/spnet/spnet-0.9.1/missing --run makeinfo'
OBJEXT='o'
PACKAGE='spnet'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.8'
ac_ct_CC='gcc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/username/Download/geda/spnet/spnet-0.9.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "spnet"
#define VERSION "0.8"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_REALLOC 1
#define HAVE_STRFTIME 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRRCHR 1
#define HAVE_STRSTR 1

configure: exit 0

_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user