Linux Newbie help
 help / color / mirror / Atom feed
* make error
@ 2002-04-16 18:38 Thomas Beer
  2002-04-16 19:06 ` Richard Adams
  2002-04-17  0:59 ` lawson_whitney
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Beer @ 2002-04-16 18:38 UTC (permalink / raw)
  To: linux-newbie

Hi,

I'm trying to install a radio clock software, which
issues make errors. Can anyone guess what may be
wrong. Tryed to modify the pcfclock.c with no positive
result. Any suggestions are highly appreciated.

Thanks Tom

make
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/big/download/pcfclock-0.29«
Making all in linux
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/big/download/pcfclock-0.29/linux«
gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
-D__KERNEL__ -DMODULE -DMODVERSIONS -include
/lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__   -c -o
pcfclock.o pcfclock.c
pcfclock.c:547: parse error before string constant
pcfclock.c:547: warning: type defaults to `int' in declaration of
`MODULE_LICENSE'
pcfclock.c:547: warning: data definition has no type or storage class
make[2]: *** [pcfclock.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29/linux«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29«
make: *** [all] Fehler 2
[tom@milestone pcfclock-0.29]$



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make error
  2002-04-16 18:38 make error Thomas Beer
@ 2002-04-16 19:06 ` Richard Adams
  2002-04-17  0:59 ` lawson_whitney
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Adams @ 2002-04-16 19:06 UTC (permalink / raw)
  To: Thomas Beer, linux-newbie

On Tuesday 16 April 2002 18:38, Thomas Beer wrote:
> Hi,
>
> I'm trying to install a radio clock software, which
> issues make errors. Can anyone guess what may be
> wrong. Tryed to modify the pcfclock.c with no positive
> result. Any suggestions are highly appreciated.
>
> Thanks Tom

The thing is with source is that quite often it will only compile with a 
spesific kernel-verion-header files/and or spesific libs.

I suggest you check the doc's which i am presuming came with the source and 
see if there is any mention of what the authour used to compile it.

It could also be that he/she used a different compiler than you have.

>
> make
> cd . \
>   && CONFIG_FILES= CONFIG_HEADERS=config.h \
>      /bin/sh ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29«
> Making all in linux
> make[2]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
> -D__KERNEL__ -DMODULE -DMODVERSIONS -include
> /lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__   -c -o
> pcfclock.o pcfclock.c
> pcfclock.c:547: parse error before string constant

This could be a simple syntax error in the source, or it could be the result 
of a header file mismatch.

> pcfclock.c:547: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> pcfclock.c:547: warning: data definition has no type or storage class

Looking at that i would take a wild guess and say that the software is very 
old indeed and needs lib5 support, thesedays we have Glib's and they are 
mostly not backwards compatable.

Of course it could be something else intyrly...

> make[2]: *** [pcfclock.o] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29«
> make: *** [all] Fehler 2
> [tom@milestone pcfclock-0.29]$
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-- 
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make error
  2002-04-16 18:38 make error Thomas Beer
  2002-04-16 19:06 ` Richard Adams
@ 2002-04-17  0:59 ` lawson_whitney
  2002-04-17  6:40   ` Tom Beer
  1 sibling, 1 reply; 4+ messages in thread
From: lawson_whitney @ 2002-04-17  0:59 UTC (permalink / raw)
  To: tbeer; +Cc: linux-newbie

On Tue, 16 Apr 2002, Thomas Beer wrote:

> Hi,
>
> I'm trying to install a radio clock software, which
> issues make errors. Can anyone guess what may be
> wrong. Tryed to modify the pcfclock.c with no positive
> result. Any suggestions are highly appreciated.
>
> Thanks Tom

Did this thing come with a ./configure script?  If so, did you run it
before trying make?
>
> make
> cd . \
>   && CONFIG_FILES= CONFIG_HEADERS=config.h \
>      /bin/sh ./config.status
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29«
> Making all in linux
> make[2]: Wechsel in das Verzeichnis Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include
> -D__KERNEL__ -DMODULE -DMODVERSIONS -include
> /lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__   -c -o
> pcfclock.o pcfclock.c

This looks as if it is trying to make a kernel module.  Did you include
module support in 2.4.4 when you configured it?

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

Did you remember to make modules after you built your kernel, and have
root run "make modules_install"?

> pcfclock.c:547: parse error before string constant
> pcfclock.c:547: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> pcfclock.c:547: warning: data definition has no type or storage class

This looks as if pcfclock.c is trying to use a macro which is not
defined in any header file.  What follows is fallout.

> make[2]: *** [pcfclock.o] Fehler 1
> make[2]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29/linux«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis
> »/big/download/pcfclock-0.29«
> make: *** [all] Fehler 2
> [tom@milestone pcfclock-0.29]$

Lawson



________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make error
  2002-04-17  0:59 ` lawson_whitney
@ 2002-04-17  6:40   ` Tom Beer
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Beer @ 2002-04-17  6:40 UTC (permalink / raw)
  To: lawson_whitney, pa3gcu; +Cc: linux-newbie

Thanks for your replies.

I contacted the author of the prog and he 
will commit a new / updated version that
should work :-)

Greets Tom

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-17  6:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 18:38 make error Thomas Beer
2002-04-16 19:06 ` Richard Adams
2002-04-17  0:59 ` lawson_whitney
2002-04-17  6:40   ` Tom Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox